File: //usr/lib/python3.5/__pycache__/antigravity.cpython-35.pyc
FüƒaÜ ã @ s5 d d l Z d d l Z e j d ƒ d d „ Z d S)é Nzhttps://xkcd.com/353/c C sz t j | ƒ j ƒ } d d „ | d d … | d d … f Dƒ \ } } t d | | d d … | | d d … f ƒ d S)zŽCompute geohash() using the Munroe algorithm.
>>> geohash(37.421542, -122.085589, b'2005-05-26-10458.68')
37.857713 -122.544543
c S s' g | ] } d t j d | ƒ ‘ q S)z%fz0.)ÚfloatÚfromhex)Ú.0Úx© r ú!/usr/lib/python3.5/antigravity.pyú
<listcomp> s zgeohash.<locals>.<listcomp>Né é z %d%s %d%sé )ÚhashlibZmd5Z hexdigestÚprint)ZlatitudeZ longitudeZdatedowÚhÚpÚqr r r Úgeohash s 3r )Z
webbrowserr Úopenr r r r r Ú<module> s