3 \Ýã@s&ddlZddlZejdƒdd„ZdS)éNzhttps://xkcd.com/353/cCs\tj|ƒ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 cSsg|]}dtjd|ƒ‘qS)z%fz0.)ÚfloatÚfromhex)Ú.0Úx©rú#/usr/lib64/python3.6/antigravity.pyú szgeohash..Néé z %d%s %d%sé)ÚhashlibZmd5Z hexdigestÚprint)ZlatitudeZ longitudeZdatedowÚhÚpÚqrrrÚgeohashs&r)Z webbrowserr ÚopenrrrrrÚs