Python Forum
Shutil attempts to copy directories that don't exist
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shutil attempts to copy directories that don't exist
#5
(Oct-29-2019, 02:59 PM)Gribouillis Wrote:
ConsoleGeek Wrote:I don't fully understand why shutil attempts to copy these special folders
What is the output of
print(os.listdir(documents))
Does it show these folders?

I posted a detailed answer on Stack Overflow.
Reply


Messages In This Thread
RE: Shutil attempts to copy directories that don't exist - by ConsoleGeek - Oct-29-2019, 08:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why is the copy method name in python list copy and not `__copy__`? YouHoGeon 2 420 Apr-04-2024, 01:18 AM
Last Post: YouHoGeon
  Organization of project directories wotoko 3 635 Mar-02-2024, 03:34 PM
Last Post: Larz60+
  use of shutil.copytree with ENOTDIR exception yan 2 1,137 Nov-29-2023, 03:02 PM
Last Post: yan
  Failed attempts to load Microsoft Appstore Python DLLs piyushd 0 545 Oct-31-2023, 10:43 AM
Last Post: piyushd
  UndefinedEnvironmentName: 'extra' does not exist in evaluation environment EarthAndMoon 3 1,928 Oct-09-2023, 05:38 PM
Last Post: snippsat
  Listing directories (as a text file) kiwi99 1 939 Feb-17-2023, 12:58 PM
Last Post: Larz60+
  shutil.move make data corrupt kucingkembar 0 909 Feb-01-2023, 01:30 PM
Last Post: kucingkembar
  rename same file names in different directories elnk 0 796 Nov-04-2022, 05:23 PM
Last Post: elnk
  Merge htm files with shutil library (TypeError: 'module' object is not callable) Melcu54 5 1,822 Aug-28-2022, 07:11 AM
Last Post: Melcu54
  check if a file exist on the internet and get the size kucingkembar 6 1,956 Apr-16-2022, 05:09 PM
Last Post: kucingkembar

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020