Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Run command in console? Return key adds new line
-
How do you run a command on the console interactive prompt?
Pressing return adds a new line.
-
-
@console said:
Pressing return adds a new line.
Right, it adds the command you have typed in the console, preceded by ">>>".
But it also runs your command.
Example: type as command "print(1)" -
@cvp said:
Example: type as command "print(1)"
print() is not needed in the console…
Example: type as command "1 + 1"
-
@ccc said:
print() is not needed in the console…
You're right as usual, buT if you want to try your statements before to include them in a script 🙄 (ma mauvaise foi)
-
Sorry everyone! The commands weren’t running because a script was running. Commands run if I stop the script and press return.