Created
April 1, 2019 12:43
-
-
Save rikwatson/ec46f0f528c19952206ce7482a57466a to your computer and use it in GitHub Desktop.
Common code for V2 & v3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if sys.version_info[0] == 3: | |
# Python 3 imports. | |
from urllib.parse import urlparse, parse_qs | |
else: | |
# Python 2 imports. | |
from urlparse import urlparse, parse_qs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment