Very basic question. Im trying to use qpython. I can type things in the console but no obvious way to enter a return (or enter)
Asked
Active
Viewed 3,171 times
2
-
Generally, the console is single line inputs only. Create a script in the editor. – Carl Smith Aug 20 '15 at 17:09
-
If you found my answer satisfactory, please mark it as a solution. :-) – Lombas Nov 24 '15 at 13:43
4 Answers
2
go to settings->input method select word-based

user7473200
- 21
- 2
-
-
1Actually that does answer the question. It did what i needed. When it wasn't in word based mode there was no enter key, only next. In word based mode the enter key appeared – heroworkshop Mar 28 '17 at 12:33
0
The console works just like a normally python console. You can use a function if you want to write a script in the console.
0
There is no way of doing it. The console will automatically input a break line when the line of code ends so you can continue inputting in the screen without any scroll bars. For complex code, you should use the editor.

Lombas
- 1,000
- 1
- 8
- 24
-1
Would a newline character solve your problem?
s = "line 1\n line 2"
print(s)
Should print out
line 1
line 2
If that's what you're looking for? It's called an escape - Python has other ones for tab, etc.

Nathan Smith
- 475
- 4
- 12