[Tutor] Multiple lines with the command line

Kharbush, Alex [ITCSV] alexf4 at iastate.edu
Mon Apr 16 17:47:04 CEST 2007


I want to use the UNIX Mail program with python

I need multiple entries with the os.system(cmd)line

I will need something like this

#output to unix

Mail Alexf4 at iastate.edu -f alexf4 at gmail.com
Subject : hello alex

#message part
how is it going

#the end of mail
. 

When I write os.system("Mail Alexf4 at gmail.com") my program will send email to where i want it to go

MY PROBLEM is that i need to enter multiple lines of input into unix. os.system() takes only one argument

thanks for the time
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070416/99f55a21/attachment.html 


More information about the Tutor mailing list