Manipulating Win32 attributes; newbie question.

Wolfgang Strobl ws at mystrobl.de
Sun Dec 30 17:03:40 EST 2001


On Sun, 30 Dec 2001 15:10:31 -0500, Peter <pcc at ecet.vtc.edu> 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 
>issue.

http://groups.google.com/groups?selm=0kln0u0k2ivc3ehegq5m9lern9e9uut78r%404ax.com

http://www.google.com/search?q=pythonwin+getfileattributes

http://www.faqts.com/knowledge_base/view.phtml/aid/4706/fid/244

http://groups.google.com/groups?q=comp.lang.python+SetFileAttributes
-- 
Thank you for observing all safety precautions



More information about the Python-list mailing list