0

how to use any file from my phone on python compiler

I'm a beginner; stuck on the python exception and file lessons. First time I'm having such difficulty. I don't know where to get filename and even don't know what the heck is this. Can somebody help me?

10th Jan 2021, 9:16 AM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
4 Answers
+ 2
You need to use the full path when messing with files in your phone/computer unless your really good at navagating the file structure. import os print(os.getcwd()) # This will print your current working directory, you can use this to start
10th Jan 2021, 9:20 AM
Slick
Slick - avatar
+ 1
Sololearn runs code on a remote server with no access to your local files. In other words, won't happen. Get the pydroid app and you can practice with files on that.
10th Jan 2021, 9:32 AM
Slick
Slick - avatar
0
And how can i get files on sololearn
10th Jan 2021, 9:28 AM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar