making a file hidden in win32?

Wolfgang Strobl ws at mystrobl.de
Mon Dec 3 14:46:28 EST 2001


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