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.
Follow the linux tutorial in the lecture notes 01.
Follow the instructions from here to install python on your linux account at the university (mandatory).
Follow the instructions from here to install python on your laptop (optional).
Use linux 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.
Back to the table of contents