1540303
1540303

Reputation: 33

Close multi line prompt in Spyder

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

Answers (2)

Chalcis
Chalcis

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

E Warren
E Warren

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

Related Questions