3 Steps to execute python script on BSD’ish Unix systems



Step 3: Change to make this python file executable mode

On unix system, you can use chmod command to make a file have executable mode. Fox example:


$ chmod +x test.py

Then you can double click or use python command to  execute this test.py on unix system.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>