Shell command

William Park opengeometry at yahoo.ca
Tue Feb 12 04:45:12 EST 2002


On Tue, Feb 12, 2002 at 10:35:21AM +0100, 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

os.system('rm test.txt')

-- 
William Park, Open Geometry Consulting, <opengeometry at yahoo.ca>
8 CPU cluster, NAS, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Tin




More information about the Python-list mailing list