https://github.com/nexussjcet/py-workshop
Instructions to set-up Python 3 and Jupyter Notebook for workshop
https://github.com/nexussjcet/py-workshop
Last synced: about 2 months ago
JSON representation
Instructions to set-up Python 3 and Jupyter Notebook for workshop
- Host: GitHub
- URL: https://github.com/nexussjcet/py-workshop
- Owner: nexussjcet
- License: cc0-1.0
- Created: 2021-06-07T14:53:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-08T16:04:53.000Z (over 4 years ago)
- Last Synced: 2025-03-04T10:15:44.160Z (7 months ago)
- Homepage:
- Size: 1.43 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python workshop
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_)# Setting up python workspace
Instruction for:
* [Windows](#windows)
* [Linux](#linux)## Windows
### 1.0 Downloading latest python
Download the latest python ver. 3.9 from the official website
![]()
### 2.0 Setup
Launch the executable setup file you just downloaded, and proceed through the installation
![]()
#### 2.1 Add path option checked
Make sure that the Add Python 3.9 to PATH option is checked
![]()
#### 2.2 Initiate
By clicking on the "Install Now" button initiate installation
![]()
#### 2.3 Complete 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)
![]()
### 3.0 Command prompt setup
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"**
![]()
#### 3.1 Check python version
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
### 4.0 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.
![]()
### 5.0 Run Jupyter Notebook
After installation is complete, you can start a jupyter notebook webserver by simply running the command
jupyter notebook
within command prompt window
![]()
![]()
### 6.0 Creating new notebook for development
Navigate to an appropriate directory/folder and create a new notebook
![]()
![]()
## Linux
Check if python is installed:
```console
user@pc:~$ python --version
```
If python isn't installed, refer [here](https://phoenixnap.com/kb/how-to-install-python-3-ubuntu) to find installation intructions.### Installing jupyter notebook
Update and refresh repository list
```console
user@pc:~$ sudo apt update
```Installing jupyter notebook
```console
user@pc:~$ pip install notebook
```Run notebook webserver by running the command
```console
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.
### That's it, you're done setting up your system!