REPOST: Re: Manipulating Win32 attributes; newbie question.

Wolfgang Strobl ws at
Sun Dec 30 23:03:40 CET 2001

On Sun, 30 Dec 2001 15:10:31 -0500, Peter <pcc at> wrote :

>My problem is that I need to manipulate some Win32 specific file 
>attributes. In particular, I need to temporarly turn off the read-only 
>attribute on a directory. In C I could use the Win32 API functions 
>GetFileAttributes() and SetFileAttributes() to do this. I'm not sure how 
>to get the job done with Python. I looked around in both the generic and 
>Pythonwin documentation but I didn't see anything that addressed this 
Thank you for observing all safety precautions

========= WAS CANCELLED BY =======:
From: Wolfgang Strobl <ws at>
Newsgroups: comp.lang.python
Subject: cmsg cancel <lp3v2ukmm01ksovdo79rn5g5pqrklg6e76 at>
Control: cancel <lp3v2ukmm01ksovdo79rn5g5pqrklg6e76 at>
Date: Mon, 31 Dec 2001 04:14:47 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.lp3v2ukmm01ksovdo79rn5g5pqrklg6e76 at>
X-Trace: 1009774049 27193 (31 Dec 2001 04:47:29 GMT)
X-Complaints-To: usenet at
NNTP-Posting-Date: Mon, 31 Dec 2001 04:47:29 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.

More information about the Python-list mailing list