Organized by The Nexus and SJCET Startup Bootcamp.
Speaker | Topic |
Siddharth Prajosh | Python |
Workshop pre-requisites:
python
(version 3.8 or greater)Jupyter Notebook
(python interactive developement web application)
Instruction for:
Download the latest python ver. 3.9 from the official website
Launch the executable setup file you just downloaded, and proceed through the installation
Make sure that the Add Python 3.9 to PATH option is checked
By clicking on the "Install Now" button initiate installation
Once the installation is completed, close the setup (You might have to restart your PC depending on the version of window and hardware specification)
Open windows command prompt by submitting the command "cmd" in the Windows Run dialog box
To open Windows Run, use either:
- Windows Button + R Keyboard shortcut
- Right-click Windows Button and select "Run"
Within the windows Command Prompt, ensure the correct version of python is installed by running python --version
Python uses pip package manager which can be used to install various development software, which we will now use to install jupyter notebook
Use the command: pip install notebook
to install jupyter notebook
This will install jupyter notebook and all it's dependencies, wait for installation to complete.
After installation is complete, you can start a jupyter notebook webserver by simply running the command jupyter notebook
within command prompt window
Navigate to an appropriate directory/folder and create a new notebook
Check if python is installed:
user@pc:~$ python --version
If python isn't installed, refer here to find installation intructions.
Update and refresh repository list
user@pc:~$ sudo apt update
Installing jupyter notebook
user@pc:~$ pip install notebook
Run notebook webserver by running the command
user@pc:~$ jupyter notebook
The jupyter notebook webserver will start running on your localhost, refer to notebook session instructions for windows to run notebook session within the webserver instance.