[issue38050] open('file.txt') path not found

Sean Frazier report at bugs.python.org
Sat Sep 7 06:45:58 EDT 2019


New submission from Sean Frazier <sfrazier8689 at gmail.com>:

I am running a problem in 'Think Python' and was having no issues with:

fin = open('words.txt') 

Then when I was working with the reference file, running a function, my IDLE crashed and is no longer able to locate files using [var = open('file.txt')]

I have tried opening as 'r' and 'w', with no luck.

Also, sometimes I do not get an error, but when I go to read the list, it is empty ''.

----------
components: Windows
messages: 351300
nosy: Sean Frazier, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: open('file.txt') path not found
type: resource usage
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38050>
_______________________________________


More information about the Python-bugs-list mailing list