Once you have python and the jupyter notebooks installed you are ready to open the notebooks using the following steps:
- First open up your Command Prompt (search for cmd on a Windows machine) or if you are on a Mac use your terminal (Spotlight search for terminal).
- Next in you terminal/command prompt type pwd and press enter (this will print your working directory)
- Take note of what file directory was displayed, this is where you should save your .ipynb files (or a folder containing your .ipynb files)
- Once your ipynb files or folder containing the files is in the location displayed from the pwd step go back to your terminal and type jupyter notebook and press Enter.
- After Step 4 you should have a browser tab open up with the Jupyter Notebook system running inside of it.
- Click on your Notebook (or go to your folder of Notebooks) displayed in the Jupyter Notbeook and it will open in a new tab with the Notebook you selected.
- You should now have successfully opened a Notebook file.
Command lines
1)Window :-Search cmd on the search bar.
cd -current directory
dir- contents of directory
cd location to be accessed - the directory you want to move in.
cd.. - move in previous directory
2)linux :-open terminal
- pwd – current directory
- ls-list of all directories
- cd loction of new directory .
- clear or cntrl
- cd.. – back up the directoryl
when using to write the directory , we can use the tab key to autocomplete the directory name. If the tab key is not working it means ,it is not a direct directory .
python uses white space and indentation instead of curly brackets.
Mini conda is just abstract version of anaconda
There are 3 main types of environments
- Text editor -General editor , can be customized with plugins and add-ons. light wight programmers
- full IDE – designed specifically for python. eg – PyCharm and spyder
- Notebook Environment -See input and output next to each other , they support inline markdown notes.
quit()- to exit the python in the terminal
Notebook uses the block system ,which mean they out runs block by block