Plz explain the use of $ symbol in this video
I am using IPYTHON 8.24.0 and while running the command as,"%run -i plot_script.py"it shows the blank plot. But when I run "show()" command, it does not show the graph plotted. I mean nothing changes..Also, if there is any editor issue, how to solve that??
Using the same syntax to run the saved plot file %run -i plot_script.py still it shows Syntax error:EOL while scanning the string literal.please guide me.
How do I open the file named "plot script.py" where all the previous commands will be saved?? I
Could not save using %save command.Permission error (Error No.13) showsHow to solve it
Does it necessary to save script file with name by putting '_' between? like you did as 'plot_script'. And please show how can i get saved file in pc i mean the script. Im not getting it in my pc anywhere. Please help.
Dear Sir/Madam,why do they use 2 before writing the information of command that should be saved like %save show_ included.py 2 4-7 16
How to save a command in user defined location? The default location is shown in the video. But if we want to store at different path kindly share the procedure.
Inspite of mode is not interactive ,why after writing a run command and pressing enter plot is shown without using show () function?
HiPlease guide me as of how this course is relevant to me being a mechanical engineer(2010 pass out). I'm in dilemma with whatsoever course I have started. Please guide.
I am using google colab python online. When I type the command " %history() " it does not show the history of commands typed. please help
In my case, the plot is displayed when I use the run command, whereas there is no output when I run the show() function. Why is it so?
Hello, May I know how to view the plot_script.py file which will be after saving by using the command %save plot_script.py in windows version.
Hello,I am using window 10 and not able to open saved file in ipython. In the lecture ' Additional features of Python' instructor has opened the saved file at 06:10 mints of lecture. Pl guide me how to open a saved file (in Editor) from ipython command window.Thanks
xlable("$X$")---------------------------------------------------------------------------TypeError Traceback (most recent call last)<ipython-input-117-e613db4a41e3> in <module>----> 1 xlable("$X$")error is thrown.
If i want to save history to different location then what is to be type? i wrote -- %save History.py 2-5 7%save d:\python FDP\History.py 2-5 7pwd 'C:\\Users\\Lenovo'%save D:\\python FDP\\History.py 2-5 7%save D:\python FDP\History.py 2-5 7%run -i History.py%run -i History.pyexecuting without error but file not getting created.
hello,my query specific to timing 6:08-6:12mins wherein you have opened the text editor to check the commands saved in the text box. whic command have you used to open the text box. I am using windows.thanks
I saved a portion of my command history as plot_script.py file.How to open the file?While opening it asks for application to open the file.If file is opened as text file then while using run command there is a problem. %run (<file name>) is executed without any error but when I use show() it does show the plot in figure window. Why this is so?
i am getting error for the command %save while saving the history
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 syntaxI am using Spyder IDE and I am a window userKindly resolve my issue
The command:title("$x and xsin(x)$")results in the title as xandxsin(x) without any spaces.How to provide spaces in the title?
What is ipython interpreter
In what way python is applicable in mathematics. Can it can be using solved advanced differential equations
Getting error "NameError: name 'linspace' is not defined"
33252 visits
Outline:* Use Python 3.4.3 * Use IPython 5.1.0 * Retrieve the history using %history command. * View only a part of history by passing argument to %history command. * Pass arguments to %history to get particular lines of code * Save the required lines of code in required order using '%save' command. * Use '%run -i' command to run a saved script.
* Use Python 3.4.3 * Use IPython 5.1.0 * Retrieve the history using %history command. * View only a part of history by passing argument to %history command. * Pass arguments to %history to get particular lines of code * Save the required lines of code in required order using '%save' command. * Use '%run -i' command to run a saved script.
Show video info
Pre-requisite