Viewing File: /opt/alt/python35/lib64/python3.5/__pycache__/antigravity.cpython-35.pyc



©ÕYfÜã@s5ddlZddlZejdƒdd„ZdS)éNzhttps://xkcd.com/353/cCsztj|ƒjƒ}dd„|dd…|dd…fDƒ\}}td||dd…||dd…fƒdS)zŽCompute geohash() using the Munroe algorithm.

    >>> geohash(37.421542, -122.085589, b'2005-05-26-10458.68')
    37.857713 -122.544543

    cSs'g|]}dtjd|ƒ‘qS)z%fz0.)ÚfloatÚfromhex)Ú.0Úx©rú0/opt/alt/python35/lib64/python3.5/antigravity.pyú
<listcomp>s	zgeohash.<locals>.<listcomp>Néé z	%d%s %d%sé)ÚhashlibZmd5Z	hexdigestÚprint)ZlatitudeZ	longitudeZdatedowÚhÚpÚqrrrÚgeohashs3r)Z
webbrowserrÚopenrrrrrÚ<module>s

Back to Directory File Manager