SyntaxFix
Write A Post
Hire A Developer
Questions
Perhaps not exactly what you asked, but I find this to be useful to put at the start of my programs:
import sys if sys.version_info[0] < 3: raise Exception("Python 3 or a more recent version is required.")