Skip to content

Instantly share code, notes, and snippets.

@MStrecke
Forked from mdornseif/osm_shortlink.py
Last active July 31, 2023 01:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save MStrecke/7491338 to your computer and use it in GitHub Desktop.
Save MStrecke/7491338 to your computer and use it in GitHub Desktop.
@marriotb
Copy link

Note that the calls to long() in encode() are Python2-specific.
For Python3, replace by calls to int()
Brian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment