Hidden files, selecting directories, & taxes

Wolfgang Strobl ws at mystrobl.de
Wed Feb 13 14:51:32 EST 2002


On 12 Feb 2002 16:23:12 -0800, chris_mk at hotmail.com (Christopher) wrote
:

>1)  Is it possible to generate a hidden file (under Windows)?  

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

| From: Wolfgang Strobl <ws at mystrobl.de>
| Newsgroups: comp.lang.python
| Subject: Re: making a file hidden in win32?
| Date: Mon, 03 Dec 2001 20:46:28 +0100
| 
| On Sun, 2 Dec 2001 14:13:46 -0800, "Peoter Veliki"
| <peoter_veliki at hotmail.com> wrote :
| 
| >Is there anyway I can use python to make a file hidden in windows? 
| 
| import win32api
| import win32con
| win32api.SetFileAttributes( "c:/scratch/versteck",
|      win32con.FILE_ATTRIBUTE_HIDDEN )
| 
| 

-- 
Thank you for observing all safety precautions



More information about the Python-list mailing list