passing string from one file to another

Kun neurogasm at gmail.com
Mon Apr 17 01:49:48 EDT 2006


I V wrote:
> Kun wrote:
>> mail currently gets the body from an input box.
>>
>> this is where mail.py gets invoked:
> 
> OK, I'm a bit confused. Where is the "initial python program" in all
> this? You seem to have an one python program (mail.py) and an HTML
> form. As it stands, I don't see why you can't change mail.py so that it
> refers to your string instead of msg.as_string() .
> 
the html i pasted is part of a python-cgi file that is the 'initial' 
file. i can't just tell mail.py to use the string because the string is 
defined in the first python profile, not mail.py.



More information about the Python-list mailing list