import os path = "C:UsersYourDirectory" os.chdir(path)
import shutil original = r'C:games' # original folder / file path target = r'D:homework' # where to move it shutil.move(original, target)
os.chdir(os.path.dirname(__file__))