You can use shutil for high-level file operation (copy, move, delete etc.) in Python.

e.g.,

>>>import shutil

>>>shutil.copy(src,dest)

src is a source file.

dest is a target directory.

© 2011 Web Oom Suffusion theme by Sayontan Sinha
Switch to our mobile site
Top Footer