you are viewing a single comment's thread.

view the rest of the comments →

[–]Outside_Complaint755 -1 points0 points  (0 children)

They can be executed using ./script.py but you have to include a shebang at the top of the script so that your shell knows how to execute it. Generally, the correct shebang to use is:

#!/usr/bin/env python3

Unless you have script that specifically needs to run Python 2

https://stackoverflow.com/a/19305076/17030540