[issue41809] finding file attributes in Windows seems to fail

2020-09-18 Thread musiquegraeme


New submission from musiquegraeme :

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 
<https://bugs.python.org/issue41809>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41809] finding file attributes in Windows seems to fail

2020-09-18 Thread musiquegraeme


musiquegraeme  added the comment:

I got 
'3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]'

--

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