What would be the best way in Python to determine whether a directory is writeable for the user executing the script? Since this will likely involve using the os module I sh
if os.access(path_to_folder, os.W_OK) is not True: print("Folder not writable") else : print("Folder writable")
more info about access can be find it here