Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how move file to directory

import shutil, os
files = ['file1.txt', 'file2.txt', 'file3.txt']
for f in files:
    shutil.move(f, 'dest_folder')
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #python #move #file #directory
ADD COMMENT
Topic
Name
9+9 =