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.

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

Intermediary python

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