MCPcopy Create free account
hub / github.com/geekcomputers/Python / move_folder

Function move_folder

Google_Image_Downloader/create_dir.py:53–56  ·  view source on GitHub ↗
(filename, name_dir, folder)

Source from the content-addressed store, hash-verified

51# Move folder to specific location
52# Overwrites the file if it already exists
53def move_folder(filename, name_dir, folder):
54 if not exists(name_dir + ":\\" + folder):
55 makedirs(name_dir + ":\\" + folder)
56 move(filename, name_dir + ":\\" + folder + "\\")
57
58
59"""

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected