Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help - FileNotFound
#2
Hi @SmallGuy,

I don't use either Colab neither than pandas or Windows...

But if I were you I will try some basic test without pandas like this:

from os.path import isfile #info https://docs.python.org/3/library/os.path.html#os.path.isfile

print( isfile('C:/Users/USER/Desktop/Learning/GrandmaCan/Salary_Data.csv') )
it should output True if not something is wrong with the given path or how you running Python or even permissions acess on the files. ?

note: that the backslash \ changed into slash /
[Image: NfRQr9R.jpg]
Reply


Messages In This Thread
Help - FileNotFound - by SmallGuy - Aug-12-2023, 05:58 AM
RE: Help - FileNotFound - by SpongeB0B - Aug-12-2023, 06:30 AM
RE: Help - FileNotFound - by SmallGuy - Aug-12-2023, 08:10 AM
RE: Help - FileNotFound - by snippsat - Aug-12-2023, 09:24 AM
RE: Help - FileNotFound - by perfringo - Aug-12-2023, 09:27 AM
RE: Help - FileNotFound - by SmallGuy - Aug-12-2023, 09:47 AM
RE: Help - FileNotFound - by snippsat - Aug-12-2023, 10:18 AM

Forum Jump:

User Panel Messages

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