It is not moving txt files to destination
Using Python 3 on my local machine. The purpose is to sort and move txt files from the selected source and destination directory. Attached is the source code.
Using Python 3 on my local machine. The purpose is to sort and move txt files from the selected source and destination directory. Attached is the source code.
I think this line of code is to blame:
shutil.move(getSourcePath, destination_Folder)
Two things:
getSourcePath
doesn't seem to be a thing?shutil.move
is used like this:shutil.move('path/to/file.txt', 'new/path/to/file.txt')
(for example)We'll this is a variable containing path from askdirectory, how else would you get the [email protected]