[New-bugs-announce] [issue41809] finding file attributes in Windows seems to fail
musiquegraeme
report at bugs.python.org
Fri Sep 18 10:24:23 EDT 2020
New submission from musiquegraeme <musiquegraeme at 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 <report at bugs.python.org>
<https://bugs.python.org/issue41809>
_______________________________________
More information about the New-bugs-announce
mailing list