Direkt zum Seiteninhalt springen

Python - An Introductory Workshop

given by Dr. Bedartha Goswami

Python is a general-purpose programming language that is becoming increasingly popular among scientists for its flexibility, ease-of-use and performance. At NextGen@Helmholtz 2018 we offer two Python workshops that are both hands-on and research oriented. One is the Introduction to Python which expects no experience in Python and the other is the Advanced Python workshop which dives into more complex tasks so some experience in Numpy and Matplotlib is required.

The Introduction to Python workshop will focus on:

  • Pre-check of Python installations
  • First steps in Python: 'Hello world!', scripts, and modules
  • The 'for' and 'while' loops, and the 'if-then' statement
  • Variables, Functions, and Objects, Objects, Objects, ...
  • import this
  • Namespaces, Inheritance, and Help documentation
  • Modules once again, and Packages
  • A bit of scientific programming: NumPy & SciPy
  • Plotting with Python: Matplotlib

Note: Users are advised to ensure that they have Python installed on their devices. Mac and Linux users already have a pre-installed Python which should work fine for the Introductory course - this can be easily verified by opening a terminal prompt and typing "python --version". For Windows users, we recommend to follow the installation instructions at [1] or [2].  Please make sure to verify the installation. We encourage everyone to contact me by email **before** the workshop if there are any problems installing Python.

[1] https://docs.python.org/3/using/windows.html

[2] https://docs.anaconda.com/anaconda/install/windows.html