Possible bug in shutil docs for move() function
Aug. 31, 2013
12:17 a.m.
Hi, On page http://docs.python.org/2/library/shutil.html The fragment below move(src,dst) function says:
The destination directory must not already exist
However, the behavior of this function is that if the dst does not exist (and is provided as directory, with os separator at the end) it will raise an exception. IMHO it should be:
The destination directory must already exist.
Best Regards, Karol
4175
Age (days ago)
4175
Last active (days ago)
0 comments
1 participants
participants (1)
-
Karol Stępniewski