Getting started
Class ressources
Access class ressources
Getting started with python
Python install
- Python install with anaconda
- Cf. installing python with Anaconda page
- Open (& read & run) the getting started jupyter notebook
Getting started with the environment
Objective: make sure that everybody has Python, Jupyter Notebook and the virtual environment installed on their laptop. The main aim of these steps is to reveal possible OS mismatches or other problems.
- Setting up the environment
- Basic terminology
- Using Jupyter notebook
- Using VScode
- Getting started page
- Useful extensions:
Main python principles
- If you get stuck
- Knowing how to Google is one of the most important skills of any coder.
- Indentation
- Counting start at $0$
print("hello world")
- Comments
- If time allows: introduce the concepts that will be subject to the exercises for the next practice session
After class: Testing yourself
Elementary python
- Python concept + coding exercises (in an online environment):
- Read the following book chapter: coding basics
- Python concept + coding exercises (in an online environment):
Learning objectives
- Getting familiarized with the python environment (Jupyter notebook, python script)
- Discovering & implementing the central notions for coding python
- python notions:
- variable types
- list
- Operations
- Loops
- Functions
Resources