![]() Shortly after, a browser window should open, showing the files and folders located in the folder where you started the Jupyter server (in my case, this folder is C:\Users\ciprian\Projects\i2p). You may be prompted to select an application to open Jupyter in. Once in the desired folder, type jupyter notebook followed by the Enter key. Once the Anaconda Prompt (or Anaconda Powershell Prompt) app opens, navigate to the desired folder, using the cd command. The Anaconda Powershell Prompt has more bells and whistles and it is generally nicer to work with. Alternatively, you can use the Anaconda Powershell Prompt. Find and open the Anaconda Prompt app using the search bar. ![]() NOTE: For best performance, I strongly recommend Firefox or Chrome as your browser when using Jupyter notebook on a Windows computer. For example, consider a file called sample.py stored in E:ProjectPro folder on a windows machine which contains the necessary python code. I am using a python program that uses some modules installed by conda in a separate variable. In order to do that, you have to create a file with a. Image Source: Edlitera How to Open a Jupyter Notebook on Windows The command to run a python file is fairly simple. Shortly after, a browser window should open, showing the files and folders located in the folder where you started the Jupyter server (in my case, this folder is ~/Projects/i2p). Once you are in the desired folder, type jupyter notebook and press the Enter key. ![]() Please note that your Terminal colors and text may differ. Intro to Programming: How to Use the Command Line (Part 2).Intro to Programming: How to Use the Command Line (Part 1).Press Enter to open and run the PY script. Open the folder that includes your Python script in the Command Prompt by entering 'Cd' followed by the path of the file. Select Command Prompt (Admin) to open the CP's window. For details on how to use the command line, read this tutorial on how to use the command line, part 1 and part 2: PY file in Windows 10 Open the Win X menu by pressing the Win key X hotkey. Once the Terminal app opens, navigate to the desired folder, using the cd command. Open the Terminal app on your Mac by clicking in the upper-right corner of the menu bar, or pressing Command-Space bar and then typing terminal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |