Manipulating Win32 attributes; newbie question.
Peter
pcc at ecet.vtc.edu
Sun Dec 30 15:10:31 EST 2001
Hello! I'm new to Python although I have a fair amount of experience
with other languages (C++, Java, some Perl). I'm working on the Windows
platform with Python 2.0. I have Pythonwin installed.
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.
TIA
Peter
More information about the Python-list
mailing list