How do you make a .PY file executable in Linux?

  1. Start your command terminal.
  2. Make sure the script lies in your present working directory.
  3. Type chmod +x script_name.py.
  4. Now you can start the script by clicking the script. An alert box will appear; press “Run” or “Run in Terminal” in the alert box; or, at the terminal prompt, type ./script_name.py.

For More Information Please Refer:
https://stackoverflow.com/questions/304883/what-do-i-use-on-linux-to-make-a-python-program-executable
You May Also Like to Read: