With Sublime Text you can run python code but if you want to use for example the input() function, your code will hang. I found the answer to that problem in a package called Terminus. The following youtube clip shows you how to get started with it 👍