0

How can I specify a path

In my code a fixed path is specified but when I run the code I get this error: Traceback (most recent call last): File "fileO.py", line 16, in <module> with open(file _path, "") as f: FileNotFoundError: [Errno 2] No such file or directory: ../Playground/' The path is: "./On my iPad/Python/faq.json" what would the path look like for it to work?

28th Feb 2023, 8:27 AM
lol
1 Answer
+ 2
Sololearn playground cannot access your local device storage. edit: The file would need to be hosted online in a public place.
28th Feb 2023, 10:42 AM
Lisa
Lisa - avatar