[Errno 2] No such file or directory
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 09:12 PM - edited 01-10-2024 09:14 PM
I am reading a Json a file as in below location, using the below code,
file_path = "/dbfs/mnt/platform-data/temp/ComplexJSON/sample.json" # replace with the file path
f = open(file_path, "r")
print(f.read())
but it is failing for no such file or directory exists?
Can someone please help me with the issue?