[Tutor] Simple XML parsing

2005-12-15 Thread Tim Wilson
ting the information. Anyone have any pointers? -Tim -- Tim Wilson Twin Cities, Minnesota, USA Educational technology guy, Linux and OS X fan, Grad. student, Daddy mailto: [EMAIL PROTECTED] aim: tis270 blog: http://technosavvy.org ___ Tutor maillist - T

[Tutor] Attaching an uploaded file to an email

2005-02-19 Thread Tim Wilson
except ValueError: pass msg.preamble = "Tech order request" msg.epilogue = "" # Attach the uploaded file msg.attach(attachment) # Send the message server = smtplib.SMTP('localhost') server.sendmail(fromaddr, toaddr, msg.as_string(0)) server.quit() In this progr