Exercises
This document contains hints for working on our exercise tasks.
Solution Script
The first line of solution
must be a shebang line: #!/usr/bin/env python3
The solution script must be named solution
.
It must not be named solution.sh
or solution.py
or… anything else, really.
The solution script must be executable.
You can make it executable by executing chmod +x solution
.
You can check if your script is executable by running ls -l
:
Good:
|
|
Not good:
|
|
Dependencies
Your script solution
must be executable on a fresh machine. Install all additional packages that are not available in the container we provide!
|
|
In order to avoid losing points, always check if your script executes properly in the provided container!
Files
If you need to patch a binary, push the binary to the repository as well!
|
|
Python Version
On our VMs and in the provided container:
|
|
You cannot use language features from newer Python versions or from Python 2!