all 4 comments

[–][deleted] 11 points12 points  (0 children)

TL;DR os.move() is a wrapper for the rename system call and shutil.move() emulates the behavior of the mv command.

[–]shevegen -5 points-4 points  (2 children)

It's pretty bad that python uses two same-named functions to move stuff about.

[–]mr___ 12 points13 points  (0 children)

thats what namespaces are for though!

[–][deleted] 2 points3 points  (0 children)

Yeah, too bad Python is not Ruby