
Dec. 1, 2015
9: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!