python
© Public Domain

Introduction to Programming with Python

Python has become one of the most popular and most powerful programming languages used for anything from small scripts-like programs up to mobile applications, scientific data analysis, and even HPC modelling. Its power is mainly due to its simplicity, and also to the strong community that continously develops open source software packages for most tasks one might have to solve.

In this 1-day course, we use Python 3 to introduce the participants to basic concepts of programming. We point out the main differences to shell scripting on one side, and using compiled code on the other side. At the end of the course, participants will have a basic understanding of object oriented programming, using Python from the interactive shell, and to write basic Python code importing existing packages. 

This 1-day course should be understood as a very basic introduction. A more complete multi-day course is in preparation.

Basic knowledge of the Linux / UNIX shell is needed (see our Introduction to the Command Line course). Basic knowledge of git is helpful (see the Version Control With Git course).

The course includes all material from Software Carpentries - Programming in Python.

This course will be conducted in English.

Next Workshop

Date

August 18th, 2022
09:00 - 17:00

Location

The course will be held in person in PC-room 0.012 at the HRZ, Wegelerstr. 6. The course is limited to 20 participants. 

Agenda:

Introduction to Programming with Python

  1.  Python Fundamentals
    What basic data types can I work with in Python?
    How can I create a new variable in Python?
    How do I use a function?
    Can I change the value associated with a variable after I create it?
  2. Analyzing Patient Data
    How can I process tabular data files in Python?
  3. Visualizing Tabular Data
    How can I visualize tabular data in Python?
    How can I group several plots together?
  4. Storing Multiple Values in Lists
    How can I store many values together?
  5. Repeating Actions with Loops
    How can I do the same operations on many different values?
  6. Analyzing Data from Multiple Files
    How can I do the same operations on many different files?
  7. Making Choices
    How can my programs do different things based on data values?
  8. Creating Functions
    How can I define new functions?
    What’s the difference between defining and calling a function?
    What happens when I call a function?
  9. Errors and Exceptions
    How does Python report errors?
    How can I handle errors in Python programs?
  10. Defensive Programming
    How can I make my programs more reliable?
  11. Debugging
    How can I debug my program?
  12. Command-Line Programs
    How can I write Python programs that will work like Unix command-line tools?

Contact and Organisation

Avatar Barbi

Dirk Barbi

0228/73-66136

Wird geladen