tags:

views:

37

answers:

1

hello, i need code python to get all pic files in diretorie e paste another dir for ex. in "c:\capture" confirm exist pic files, if true get all and paste in c:\backup\paste.1 sleep 30 min and confirm new files in c:\capture if true get all and past in c:\backup\paste.2

sorry my bad english tks

+1  A: 

I'm not sure what exactly you want to do, by are you looking for os.listdir(), os.rename() and the other functions of the os module?

The shutil module might also be useful, depending on the specifics of what you want to do.

sth