copy some files from IE temporary internet files

Tim Golden mail at timgolden.me.uk
Mon Apr 19 14:29:15 CEST 2010


On 19/04/2010 10:49, CHEN Guang wrote:
> Hi friends,
> I want to program Python to copy some video files (.flv) from the IE folder "temporary internet files", but
>
> os.listdir('C:\\Documents and Settings\\Administrator\\Local Settings\\Temporary Internet Files')
>
> seemed unable to find any video file (although they really exist and can be manually copied with Windows explorer).
> I googled and found that "temporary internet files" is not a normal folder. Will any friend tell me how to do this?

Have a look at the win32inet module from the pywin32 package

TJG



More information about the Python-list mailing list