Getting my phone directory in python
问题 I connect my android phone to my windows laptop. In windows explorer the directory where my photos are is: Computer\GT-I9100\Phone\DCIM\Camera\ In python I do: phone_dir="Computer\GT-I9100\Phone\DCIM\Camera" os.listdir(phone_dir) I get: FileNotFoundError: [WinError 3] The system cannot find the path specified: 'Computer\\GT-I9100\\Phone\\DCIM\\Camera\\*.*' Edit: The best I have got so far is to enable mass storage on the android device and then python can see it. But I'd prefer not to have to