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()
No comments:
Post a Comment
Add Your comments here...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Add Your comments here...