Sublime Forum

How to end and accept an input() command?

#1

I’m writing simple scripts in Python. I run a simple script with Ctrl B. I use the input() command, which waits for user to enter input. I write something and hit Enter, and it goes to the next line, instead of ending and accepting the input, and returning the control back to the program, so it can execute the next command. I tried Ctrl Enter, Shift Enter, Alt Enter nothing seems to work. I’m using Sublime Text for the first time, don’t know it yet.

0 Likes

#2
0 Likes

#3

why hasn’t anyone replied to this yet? I am having the exact same problem if anyone knows there is a solution please do provide a link to it at least…

0 Likes

#4

OdatNurd replied back in 2016 with a link to a solution.

1 Like

#5

Or use Terminus plugin as a more modern solution.

1 Like