Html Textarea Via Python Using Post Function
Some web hosts still use python 2.5, in which case you'll need to use an older syntax style:
print """ My text says: %s """ % text_variable
If you are doing this to display arbitrary user input, be sure to pre-process your string in some way to avoid the insertion of arbitrary HTML code in the middle of your form.
In order to set *text_variable*, you'll want to get the form data. Look at the python "cgi" module and relevant tutorials.
Post a Comment for "Html Textarea Via Python Using Post Function"