python change permissions of a file code example Example: python3 change file permissions #import os os.chmod('yourfiletochange.csv', 0o777)