Robert Dailey wrote:
import os
import stat
os.chmod ("c:/temp/temp.txt", stat.S_IWRITE)
(Haven't actually checked that on Python 3.0 but I don't believe
it's changed...)
TJG
Hi,
>
Using Python 3.0, how can I remove a read-only property from a file in
Windows XP? Thanks.
>
Using Python 3.0, how can I remove a read-only property from a file in
Windows XP? Thanks.
import stat
os.chmod ("c:/temp/temp.txt", stat.S_IWRITE)
(Haven't actually checked that on Python 3.0 but I don't believe
it's changed...)
TJG