Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

shutil move file

#all the same
import os
import shutil

os.rename("path/to/current/file.foo", "path/to/new/destination/for/file.foo")
os.replace("path/to/current/file.foo", "path/to/new/destination/for/file.foo")
shutil.move("path/to/current/file.foo", "path/to/new/destination/for/file.foo")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shutil #move #file
ADD COMMENT
Topic
Name
6+9 =