Created
June 2, 2020 17:27
-
-
Save Farrukhraz/80e6b769c011be44aa9fba8fe688f68b to your computer and use it in GitHub Desktop.
do this if python3, elif python2 do this
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.major == 2: | |
BaseStrType_ = basestring | |
else: | |
BaseStrType_ = str |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment