plain text parsing to html (newbie problem)

MRAB python at mrabarnett.plus.com
Wed Dec 9 11:11:53 EST 2009


João wrote:
> I apologize for my newbiness but I'm banging my head making this work :
> (
> What change must I made for the tag enforcement being reflected to the
> 'mail' file? Am I using the WritableObject class correctly?
> (I'm getting a blank 'mail' file after running the .py script)
> How can I see the output run in debug mode like in perl?
> 
[snip]

You're storing the text in the 'mail' object (an instance of
WritableObject), but at no point do you use what you have stored.

I can also see that you're writing to a file call "mail" via
output_file, but you're not closing the file before passing it to
"sendmail".




More information about the Python-list mailing list