How To Fix Read-only File System Error Python
I am trying to make a python script that runs the command line for turning a file into a .zip using python3 on my Mac. However, whenever I run: os.system('zip -er file.zip /Users/m
i will suggest 3 steps ! first run :
fsck -n -f
then reboot !
make sure to run the python file as root
import os
try:
os.system('zip mag.zip mag.ppk')
print ('success')
except:
print ('problem')
Post a Comment for "How To Fix Read-only File System Error Python"