I have been using a lot of sublime text 3 to write python. However, whenever a program I make needs user input, nothing happens. For example:
number = input("What is your favorite number?: ")
print(number)
This simply gives me the input prompt in the console, but anything that I type is ignored. The
print(number)
is never run. Is there a way to use an interactive console for sublime text 3? I have heard of something called REPL that will do the job in ST2, but I want to use an interactive console for python3 in ST3.
As of now, I just run programs that need input from terminal. Sometimes I'll use Pycharm, but I'm still getting used to pycharm.
解决方案
SublimeREPL works for python3. Their current builds are actually all tested against ST3.