Exercises
Please consider the following notes when you submit your solution!
Cheating
|
|
Shebang
The first line of solution
must be a shebang line: #!/usr/bin/env python3
solution
The solution script must be named solution
.
It must not be named solution.sh
or solution.py
or …
Dependencies
Your script solution
must be executable on a fresh machine -> install all additional packages!
|
|
Alternatively you could also use a requirements.txt
file and install the requirements like this:
|
|
https://pip.pypa.io/en/stable/user_guide/#id12
Files
If you need to patch a binary push the binary to the repo as well!
|
|
Python Version
On our VMs:
|
|
You cannot use language features from newer Python versions or from Python 2!
Avoiding 0 Points
Test your scripts on the VM and make sure that you push all necessary files to your repository!
Final Warning
If we cannot execute your solution with ./solution
you will get 0 (zero) points!