some rules and things to remember in short:
calling shutil.move(source,destination) will move the folder/file from
source ===to=== destination
1. if say destination as a file who's name is same as a source then it will be overwritten.
2. if destination mentions a new file name at its path then name in source will be changed to new file name.
3. if destination path mentions a folder and if its not there then file name will be changed to folder name.
Смотрите видео Moving Files or Folder using Shutil Module in Python онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь P prog 10 Август 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,469 раз и оно понравилось 71 людям.