Tips'n'Tweak
Thursday, January 24, 2013
Python Script to Copy a file from one directory to another
import shutil
def main():
src="Path of Source file <C:\Program Files\a.txt>"
dst="destination directory path <E:\New Folder> "
shutil.copy(src, dst)
if __name__ == '__main__':
main()
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)