Assignment #01: gaining speed with Python

Today's assignment is more of a "homework" than a real assignment. We first need to get you more comfortable with the language before doing ore complicated things. Here is what I ask you to do until next week:

Exercise #01-01: python script instead of bash

Write a python script called my_cli_test.py. The script can be as simple as you wish, but it should produce one printed output (a simple "Hello world!" would suffice!). Put this script in a new directory in your HOME, called bin. Now make this script callable from everywhere (not just from the bin directory) with a call to $ my_cli_test.py. Make this change "permanent" for your HOME environment.

Exercise #01-02: python tutorial

Go through the official Python tutorial, Sections 3 to 5. This will take you through the basic features of the language. We will revisit sections 4 and 5 together next week, so get your questions ready!

Back to the table of contents