Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

make python file executable linux

put this in the first line of your script:
#!/usr/bin/env python

Make the file executable with
chmod +x myfile.py

Execute with
./myfile.py
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #file #executable #linux
ADD COMMENT
Topic
Name
1+8 =