You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a simple script and run it:
def main():
print('First line')
print('Second line')
if name == 'main':
main()
In Ipython console this run succesfully, but in the same spyder session I need to press many times the return key to get a result depending of the size of the scripts and the number of scripts run in the console recently
The number of return keystrokes increases when you execute multiple times the script. After run ten times the script is needed you press ten times the returnkey.
This is basically a duplicate of issue #1831. Please use the IPython console instead because we're going to disable the Python console on Windows for Spyder 3.1.
Description of your problem
What steps will reproduce the problem?
Open Spyder and a Python Console
Write a simple script and run it:
def main():
print('First line')
print('Second line')
if name == 'main':
main()
In Ipython console this run succesfully, but in the same spyder session I need to press many times the return key to get a result depending of the size of the scripts and the number of scripts run in the console recently
First line
Second line
What is the expected output? What do you see instead?
In a previous version I get the output without press return key.
Please provide any additional information below
I just update Anaconda and Spyder, yesterday everithing was fine. So, I suppose that this issue is caused by the new version of spyder or Anaconda
Versions and main components
Dependencies
Please go to the menu entry
Help > Optional Dependencies
(orHelp > Dependencies
), press the buttonCopy to clipboard
and paste the contents below:
The text was updated successfully, but these errors were encountered: