|
| 1 | +The Python programming language is increasingly popular. It is a |
| 2 | +versatile language for general purpose programming and accessible |
| 3 | +for novice programmers. For more than a decade, Python has been |
| 4 | +used for a large number of systems-related programming tasks. |
| 5 | +This training introduces modules that are useful in that context. |
| 6 | + |
| 7 | + |
| 8 | +## Learning outcomes |
| 9 | + |
| 10 | +When you complete this training you will |
| 11 | + |
| 12 | + * know how to write scripts that handle command line arguments, |
| 13 | + configuration files and environment variables; |
| 14 | + * know how to log information or errors from your applications; |
| 15 | + * be able to perform file system-related tasks; |
| 16 | + * be able to use a templating library for reporting; |
| 17 | + * be able to interact with processes on a Linux system; |
| 18 | + * be able to interact with remote systems using SSH; |
| 19 | + * be able to interact with compressed files. |
| 20 | + |
| 21 | +## Schedule |
| 22 | + |
| 23 | +Total duration: 3.5 hours. |
| 24 | + |
| 25 | + | Subject | Duration | |
| 26 | + |---------------------------------------------|----------| |
| 27 | + | introduction and motivation | 5 min. | |
| 28 | + | command line argument, configuration files, environment variables | 40 min. | |
| 29 | + | logging | 10 min. | |
| 30 | + | interacting with the file system | 40 min. | |
| 31 | + | coffee break | 10 min. | |
| 32 | + | templates | 10 min. | |
| 33 | + | interacting with processes | 45 min. | |
| 34 | + | interacting with remote systems using SSH | 30 min. | |
| 35 | + | compressed files | 10 min. | |
| 36 | + | wrap up | 10 min. | |
| 37 | + |
| 38 | + |
| 39 | +## Training materials |
| 40 | + |
| 41 | +Slides are available in the |
| 42 | + [GitHub repository](https://github.com/gjbex/Python-for-systems-programming), |
| 43 | +as well as example code and hands-on material. |
| 44 | + |
| 45 | + |
| 46 | +## Target audience |
| 47 | + |
| 48 | +This training is for you if you need to use Python for scripting and |
| 49 | +coordination of processes. |
| 50 | + |
| 51 | + |
| 52 | +## Prerequisites |
| 53 | + |
| 54 | +You will need experience programming in Python. This is not a training that starts |
| 55 | +from scratch. |
| 56 | + |
| 57 | +If you plan to do Python programming in a Linux or HPC environment you should |
| 58 | +be familiar with these as well. |
| 59 | + |
| 60 | + |
| 61 | +## Trainer(s) |
| 62 | + |
| 63 | + |
0 commit comments