![]() ![]() To actually create a notebook, go to the New, Python 3 menu item.Įnter some code in the first cell: print("hello world")Īnd press Shift-Enter to actually run the cell yielding hello worldįor more information on the basics of using the Jupyter Notebook, we recommend starting with this notebook on Notebook Basics. Once entered, this command will automatically launch your default web browser with a new notebook in an empty directory. We can now start our Jupyter notebook with this command: jupyter notebook Click this option to launch the Windows Command Prompt at that specific location. A context menu will appear and there will be an option to, "Open command window here". Hold down the shift key and right-click on the newly created folder. On Windows, create a Desktop folder called my-notebook. ![]() The ~ character is a shortcut to indicate you are at your home directory. Change to that directory (i.e., open the newly created my-notebook folder) with the cd command: cd ~/Desktop/my-notebook. Launch the Terminal again so that we may start Jupyter. In the last section, we learned how to start the OS X Terminal. On Mac OS X, create a Desktop folder with the Finder called my-notebook. Starting a Jupyter Notebook in a Specific Folder In both cases, you will want to start the Jupyter notebook in a specific folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |