giving a file executable permissions from python
April 7th, 2008 by Lawrence David
to make a file executable from python, use the following template:
 >> import os>> my_filename = “file.txt”>> os.chmod(my_filename,0755)
April 7th, 2008 by Lawrence David
to make a file executable from python, use the following template:
 >> import os>> my_filename = “file.txt”>> os.chmod(my_filename,0755)