To execute a file in Linux all you have to do is go to the terminal and write “python3” and then the location of the file. Be sure to write the name of the file and “.py” after it. To make the location shorter save the file in the main directory. An example is this:
python3 filename.py
If you are having trouble try to star again but this time write first “lb”, this will take you to the main directory. Then you can continue writing as usual. 

CC BY 4.0 Mastery 5 – Linux sufficient for exams by Jose Carlos Peñuelas Armenta is licensed under a Creative Commons Attribution 4.0 International License.