Hidden files, selecting directories, & taxes

Peter Hansen peter at engcorp.com
Tue Feb 12 20:58:23 EST 2002


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

Simple pragmatic approach: 

import os
os.system('attrib +h %s' % filename)



More information about the Python-list mailing list