Moved to @Crul@lemm.ee
This will not fix the problem, but will give you more info: save the file to disk and try running it outside of Sublime. Open a command line and run ``python your_file.py`. If it works, that will tell you that the problem is related to Sublime. If it fails like in Sublime, then there is something weird happening… and I have no idea what that could be.
Yeah, sorry, I cannot help with that, never used Sublime.
But at least you can use the command line until you figure that out. Not ideal, but better than nothing ¯\_(ツ)_/¯.