[Pythonmac-SIG] mv

Ronald Oussoren ronaldoussoren at mac.com
Mon Jul 21 12:20:12 CEST 2008


 
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.

Ronald
>
>-- 
>Jym Feat ~ Paris FR 75018
>
>_______________________________________________
>Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>


More information about the Pythonmac-SIG mailing list