Daily Archives: August 1, 2014

Python function chmod to change permission

I naively tried the function chmod from the standard python module called os to change the permission of a file: os.chmod(filename, 644)os.chmod(filename, 644) Checking in the unix command line (ls -l), I got an unexpected result: –w—-r-T.–w—-r-T. I expected indeed … Continue reading

Posted in Python | Tagged | 2 Comments