![]() ![]() In my case, I was in my ~/Projects/i2p folder, which had the hello_world.py script I wrote earlier using the Atom text editor: What you can see right here is the starting page for Jupyter notebook, which just shows the files that are present in the directory where I typed the command that launched the Jupyter notebooks environment. In your case it might be Chrome, Safari, or another browser. In my case it opens a Firefox window, because Firefox is my default browser. Image Source: Screenshot of Jupyter notebook, EdliteraĪfter I run the command, it should automatically open a browser window. Once I'm here, all I have to do is type Jupyter notebook and hit Enter. I will then navigate to my desired folder, which for me is ~/Projects/i2p. To launch Jupyter notebooks, I have to first launch the command line. Quick Guide: How to Start a New Jupyter Notebook.While the commands and steps involved are the same between the two operating systems ( OS X and Windows), it might still be easier to follow my detailed guide linked above. The screenshots below were taken on a Mac computer. NOTE: I put together a detailed guide on how to start the Jupyter notebook server on Mac or on a PC.Intro to Programming: How to Get Your Computer Ready to Run Python.In this blog series, I will mostly be using Jupyter notebook, and the best thing about it is that if you read and followed my previous post about how to set up your Python system, you have installed the Anaconda distribution, so you already have Jupyter notebook installed too, and if you haven't, please read it first: Most text editors - even the ones designed for programming - don't typically allow you to do this. Jupyter notebook is particularly good for beginners because you can both write and run code in the same place. Jupyter notebook is a powerful environment for both writing and running code, which you can also use for other things, such as writing formatted text like you would in a Microsoft Word Document, or inserting pictures or videos alongside Python code. How to Save and Close a Jupyter Notebook.How to Run Multiple Lines of Code at Once on Jupyter Notebook.What Types of Cells Are in a Jupyter Notebook?.How to Write and Run Code in Your Jupyter Notebook.How to Add, Remove, and Select Cells in Your Jupyter Notebook.How to Change the Name of Your Jupyter Notebook.How to Start the Jupyter Notebook Server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |