Reputation: 33
How on earth does one close the multi-line input in the Spyder console for python? I can't find any solution and its slowly driving me insane.
In [2]:twenty_test.data
...:
...:
...:
Does anyone know how I can terminate this input?
Upvotes: 3
Views: 3625
Reputation: 61
Hitting [shift] + [Enter] will close the multi-line editing and execute any entered code.
Just in case anyone else is looking for this, I struggled to turn on multi-line editing and couldn't find that question posted and answered.
Hitting [ctrl] + [Enter] will start multi-line editing
Upvotes: 6
Reputation: 93
multiple line input in spyder is terminated with a ";" Just place a semi-colon at the end of your last line of input.
Upvotes: 1