Python 101
This Python “Onramp” Course is in form of a Jupyter Notebook. As soon as everything is set up, it reads similiar to a Matlab live script but instead of matlab code, Python code is embedded into the script. Within the notebook you will find a short overview of basic Python synthax with examples and minor interactive tasks.
Get the template of the Jupyter Notebook
For the next step you have to open your terminal. To do so, you can always search through your applications for “terminal” or if you want to be cool, you can press Ctrl + Alt + T. Now simply copy and paste the following lines of code step by step:
Note
To Copy and paste within the terminal hit shift + Ctrl + C / V
$ cd && git clone https://github.com/HippoCampusRobotics/python-onramp.git
$ cd python-onramp
Create a virtual environment:
$ python3 -m venv venv
Source the environment:
$ source venv/bin/activate
Install the dependencies:
$ python3 -m pip install -r requirements.txt
Open the Notebook
$ jupyter notebook
A new browser tab should open.
Open the notebook by right clicking python101.py
and selecting