Possible bug in shutil docs for move() function
31 Aug
2013
31 Aug
'13
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
4137
Age (days ago)
4137
Last active (days ago)
0 comments
1 participants
participants (1)
-
Karol Stępniewski