Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- # Version checker
- # This is an example for Python 3
- version = int((".".join(map(str, sys.version_info[:1]))))
- if version >= 3:
- pass
- else:
- print("You need to be using Python 3 to use this.")
- sys.exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement