New submission from musiquegraeme <musiquegra...@gmail.com>:

When I try this in shell 
     os.stat('MyFile2.iso').st_file_attributes
I get a value - 32

When I try this in IDLE 
     print (os.stat('MyFile2.iso').st_file_attributes)

I get the error message.

AttributeError: 'os.stat_result' object has no attribute 'st_file_atributes'

----------
assignee: terry.reedy
components: IDLE
messages: 377119
nosy: musiquegraeme, terry.reedy
priority: normal
severity: normal
status: open
title: finding file attributes in Windows seems to fail
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41809>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to