Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding files
#1
I am using an iMac with OS 10.12.6. I downloaded 3.7.1, and, using IDLE in the shell, I tried to read an existing text file with
f = open("entity_list.txt")
which resulted in a message that the file could not be found. The file is in the same folder that the Python was installed in.
Reply


Messages In This Thread
Finding files - by knollfinder - Dec-09-2018, 03:11 AM
RE: Finding files - by jeanMichelBain - Dec-09-2018, 07:57 AM
RE: Finding files - by Gribouillis - Dec-09-2018, 08:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using zipfile module - finding folders not files darter1010 2 393 Apr-06-2024, 07:22 AM
Last Post: Pedroski55
  Finding files matching pattern GrahamL 1 1,364 Jan-14-2022, 01:16 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020