https://docs.python.org/3/library/os.html?highlight=os#module-os

Dec. 1, 2015
8:15 a.m.
Hi,I found confuse when I learn it os.rename(src, dst, *, src_dir_fd=None, dst_dir_fd=None) Rename the file or directory src to dst. If dst is a directory, OSError will be raised. but rename can deal with dir well(of course) my mother language is not english so maybe I just made a joke but can you explain the mean If dst is a directory, OSError will be raised. to me? THX!
3373
Age (days ago)
3373
Last active (days ago)
0 comments
1 participants
participants (1)
-
吃錯藥的waox