Chris, thanks for the reply. I don't have newsgroup access, can you point me to
some place where I can learn more? Do you have sample code I can learn from?
Thanks.
Clayton
> On August 14, 2014 at 4:09 AM Chris “Kwpolska” Warrick <kwpol...@gmail.com>
> wrote:
>
>
> On Aug 14, 2014 9:30 AM, "= Clayton - Tang =" <c...@ctny.org
> <mailto:c...@ctny.org> > wrote:
> >
> > Hi all,
> >
> > I am on WIndows and have an Android cell phone running Android 4.4.4.
> >
> > When I connect the phone to my PC using a micro-USB cable, the phone
> > appears next to the local hard drive under "This PC" window, then I can
> > browse the phone's directory like a regular disk. My goal is to find all
> > the photos on the phone then do something with the files. So I copied the
> > path from the File Explore navigation bar, which is 'This PC\Nexus
> > 5\Internal storage\DCIM\Camera', but the follow code doesn't work.
> >
> > I get an error "W indowsError: [Error 3] The system cannot find the path
> > specified: 'This PC\\Nexus 5\\Internal storage\\DCIM\\Camera/*.*". Does
> > anyone know who to make it work?
>
> This was recently discussed on the main list (python-list aka
> comp.lang.python). Long story short, modern Android phones are using the MTP
> protocol and do not behave like usual USB drives. You must use a module that
> implements MTP if you want to access your phone.
>
> > import os;
>
> No need for a semicolon here.
>
> --
> Chris “Kwpolska” Warrick <http://chriswarrick.com/>
> Sent from my SGS3.
>
---
Clayton Tang
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor