Save python script error
Title
Question
I am getting an error when I run save command. I am using save plot_script.py 2-4 This is the error
save plot_script.py 2-4
File "<ipython-input-18-fe4f4b8c940f>", line 1
save plot_script.py 2-4
^
SyntaxError: invalid syntax
I am using Spyder IDE and I am a window user
Kindly resolve my issue
Python-3.4.3 Additional-features-of-IPython 06-07 min 10-20 sec
Answers:
The command to save is %save plot_script.py 2-4 which should be run inside ipython terminal and not the spyder editor. The ipython kernel is generally to the right of the editor
Login to add comment