©Õ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ú s zgeohash..Néé z %d%s %d%sé)ÚhashlibZmd5Z hexdigestÚprint)ZlatitudeZ longitudeZdatedowÚhÚpÚqrrrÚgeohashs3r)Z webbrowserr ÚopenrrrrrÚs