[Pythonmac-SIG] mv

Feat jf at ai.univ-paris8.fr
Mon Jul 21 18:12:50 CEST 2008


At 12:20 +0200 21/07/08, Ronald Oussoren wrote:
> 
>On Monday, July 21, 2008, at 10:46AM, "Feat" <jf at ai.univ-paris8.fr> wrote:
>>Does anybody know which function, from which module, does what the mv command would do in a shell script?
>
>Either os.rename or shutil.move. The latter can also move files to a different filesystem.

Oooops! I had browsed an obsolete Bealey's handbook and overlooked the official documentation at [http://docs.python.org/lib] where this is mentioned, of course...

Thanks, Ronald, thanks Markus, for replying!

-- 
Jym Feat ~ Paris FR 75018



More information about the Pythonmac-SIG mailing list