Shell command

Peter Hansen peter at engcorp.com
Tue Feb 12 07:29:30 EST 2002


DelPiccolo Ivano wrote:
> 
> How can I do to launch a command in my python script ?
> example : I want to launch the command : rm test.txt

import os
os.system('rm test.txt')



More information about the Python-list mailing list