Feed on

to make a file executable from python, use the following template:

 >> import os>> my_filename = “file.txt”>> os.chmod(my_filename,0755)

Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS