Executable files / how to execute python programs

Execute script files and programs

Files can only executes if the access permissions are set properly, so that the file is executable (see
file management: chmod). To execute the file you need to specify the path or just add the prefix ./
if the file is located in the current working directory. Executable Windows files (.exe) can't be executed!!

Execute Python programs

Python programs don't need to be compiled before execution. The programm can be stored in a normal
file (e.g. using a text editor) and executed as Python2 code with the command python [file name].
To use the Python3 interpreter, use the command python3 [file name] instead.