Re: Python and file attributes

2019-07-29 Thread Corinna Vinschen
On Jul 28 18:12, Steven Penny wrote: > The Windows version of Python can access file attributes: > >>>> import os >>>> os.stat('C:\Recovery').st_file_attributes >8214 > > https://docs.python.org/library/os#os.stat_result.st_file_attributes > > However the Cygwin version cannot: > >

Python and file attributes

2019-07-28 Thread Steven Penny
The Windows version of Python can access file attributes: >>> import os >>> os.stat('C:\Recovery').st_file_attributes 8214 https://docs.python.org/library/os#os.stat_result.st_file_attributes However the Cygwin version cannot: >>> import os >>> os.stat('C:\Recovery').st_file_att