[New-bugs-announce] [issue29827] os.path.exists() returns False for certain file name

Marko Mavrinac report at bugs.python.org
Thu Mar 16 10:27:55 EDT 2017


New submission from Marko Mavrinac:

I have two files in two different folders, both on desktop.
If I try using os.path.exists() on both of them, it returns True for one file and False for the other file.
After renaming file that I got False from, I get returned True and when I rename it back, it returns False again.

File name causing the problem is "testni.wav", I assume it's anything starting with "test", but I'm sure you guys will know better. Thank you

Detailed description with screenshots can be seen here: http://stackoverflow.com/questions/42834408/os-path-exists-returning-false-for-one-and-true-for-another-file-both-files-e

----------
components: Windows
messages: 289717
nosy: Marko Mavrinac, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: os.path.exists() returns False for certain file name
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29827>
_______________________________________


More information about the New-bugs-announce mailing list