Shell command

Peter Hansen peter at engcorp.com
Tue Feb 12 13:29:30 CET 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