NOTE: Please note: Registrations are complete. There are no more places available.
Introduction to Python
Objectives
- Introduction to working efficiently with Python
- Confident use of basic Python programming techniques
- Outlook on further areas of application and Python libraries
Content
Python basics
Introduction to data structures
- Data types, classes, variables, objects
- Strings and string functions
- Dictionaries
- Sets and frozensets
Control structures
- Branching
- Loops: while and for
- For loops in C or C++ in Python
- continue, break, and else statements in loops
- Functions: Definition and invocation
Input and output
- Interactive input
- Formatted output
- The python way: the format method
- Reading and writing files
Working with modules
- Standard modules
- Writing your own modules
Testing and debugging
Errors and exceptions
- Syntax errors
- Handling exceptions
Object-oriented programming
- “All classes”
- Classes, instances, and objects
- Instance and class attributes, properties
- Inheritance, multiple inheritance
Outlook on interesting Python libraries
- NumPy and SciPy
- Data visualisation with Matplotlib
Didactic approach
All course days cover alternating sequences of theoretical input and hands-on exercises, during which the instructors are available for quick feedback and advice.
Prerequisites
This course is suitable for beginners and no prior knowledge of Python is required.
NOTE: Please note: Registrations are complete. There are no more places available.