I want to save the whole notebook (i.e mynotebook.ipynb). What's the command that let me save the notebook on the server? Thanks a lot.
I'm not certain what you mean by save "on the server", but you can export it as a ipynb via "File"->"Download as". You can also save it to the file you're working on by clickign the floppy disk icon, or going to "File"->"Save and checkpoint"
Where to find "Download as" option
Related
I want something like
code --download_file [path_to_file]
to download file from remote server to my local computer (instead of manual select file in file explorer because sometimes the file is not in currently open project)
Use curl. It's a "command line tool and library for transferring data with URLs"
This tutorial might help
I've installed MobaXterm in my computer, but I can´t find a way to import the settings from the mobaXterm.ini.
I've alreay read the documentation (I've tried, at least, with my bad english) but I couldn´t find the solution.
I had the same problem after trying to import a MobaXterm.ini from a computer running v12.4 to another computer running v22.3.
What worked for me on new computer was:
Close/Quit MobaXterm
Copy MobaXterm.ini to C:\Users<accountname>\AppData\Roaming\MobaXterm\
Restart MobaXterm
After that, it will start up using your MobaXterm.ini and continue updating it each time you quit MobaXterm.
Once you get this working, you should export your sessions to a file called "MobaXterm Sessions.mxtsessions" by right clicking on "User Sessions" and selecting "Export all sessions to file".
There is also a way to export the entire configuration to a ".mobaconf" file by clicking "Settings/Export configuration".
You can use the exported files as backups and re-import them later if needed.
I'm running jupyter notebooks in VSCode and have a return of a very large json - too large to see it all in the jupyter notebook.
When I prettyprint the json in VSCode, it shows some of the data, then:
"show more (open the raw output data in a text editor) . . . "
When I click on that, VSCode pops up a msg, "The window is not responding".
How do I make this link work and open that json in Notepad++, which is installed?
Alternatively, how can I dump this json to text file so I can view in a text editor?
Once notebooks were natively supported by VSCode, the setting changed to notebook.output.textLineLimit.
You can try to set the 'Max Output Size', which is the setting of the jupyter extension, and check if it works.
If the 'Max Output Size' can't work, use logs or files to keep your output is wise.
I have some python scripts on PythonAnywhere.com that I am trying to download into my computer. Whenever I click the download icon next to the file, it opens into another web tab (Chrome) instead. I'm not sure what I did that caused this because I've been able to download files to my computer for the last couple of weeks but suddenly I cannot. Any help would be appreciated - thank you.
Use your browser right-click menu on the download link to save the file to your disk.
I have been watching tutorials on data mining using python. I have installed Anaconda Python 3.5 package for windows 64 bit with default installation. I have made the program available to all users on my laptop. I am running windows 10 64 bit. I am able to open Jupyter notebook on localhost at http://localhost:8888 and browse to the folder than contains iPython notebook file. I can type commands in the text box but could not execute them. I don't know if this can be fixed by changing the current configuration. I have attached two screenshots for references. It is weird that the play button is missing. Instead a next button is shown at the same place. It will be greatly appreciated if someone could walk me through the steps. I do not know how to generate logs for debugging. But I am willing to try. Thanks everyone!
The info here http://jupyter-notebook.readthedocs.io/en/latest/examples/Notebook/Running%20Code.html says try shift+enter or green rectangle button. Would it not be easier to just save the file and run it from terminal with python (file)?
Try the "Cell" dropdown and "Run all" or while in the cell (the side highlight would be green), do shift + enter at same time.
Ipython has two modes: One to edit/run. Another to navigate.