Programming in Python
From the beginning of the academic year you will be using the Python programming language intensively. If you have never used Python before, but have used another scientific computing language (e.g., Matlab), we strongly encourage you to follow our online course Python for Engineers. Even if you have used Python before, the online course is an excellent refresher. If you have never programmed in any language before, you should also use the additional Python resources provided below.
How can you tell if you should take the refresher course? You should be comfortable using any of the following concepts:
- Common data types (int, float, strings, boolean)
- Variables, Constants, Operators and Expressions
- Basic data structures: lists, tuples, dictionaries and sets
- if/then/else statements
- Loops
- Functions
- Basic plotting with matplotlib
In addition, familiarity with the Python library Numpy is also useful:
- Basic Numpy operations: addition, subtraction multiplication, division, dot product, matrix multiplication
- Numpy arrays: 1-D, 2-D and N-D arrays, array creation
- Array manipulation: sorting, indexing and slicing, reshaping and transpose, joining arrays