Assignment #01¶
This week’s assignment is about getting you more comfortable with linux and able to use python on your computer before doing more complicated things.
Exercise #01-01: linux tutorial¶
Follow the linux tutorial from 01 - A very short introduction to Linux on MyBinder (no installation needed).
Exercise #01-02a (not in 2020): install python on your university account¶
Follow the instructions from Installation at the University of Innsbruck (optional) to install python on your linux account at the university.
Exercise #01-02b: install python on your laptop¶
Follow the instructions from Installing Python on your PC to install python on your laptop.
Online learning in 2020
In previous years, I would make the installation on the University lab mandatory - this would be enough for the entire semester. This year is different though, and working in the computer lab is not possible. For this week, you can use MyBinder - but starting from next week I recommend to have a working python on your PC as well.
Exercise #01-03: python script instead of bash¶
Use linux on MyBinder for this exercise. 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.