textarea parsing

QdlatY qdlaty at wielun.dhs.org
Wed Dec 27 10:55:42 EST 2000


Hello!

I'm creating some multi-channels message board in python.
I have question: how textarea form item is passed to python script?
Edit line items are passed as strings. I though that textarea items will
be passed as normal string with "\n"/"\r" signs.
f.e.
form = cgi.FieldStorage()
#Now extracting contets of textarea formitem
print form["text"].value

Why I see MiniStorage object?
How to easily extract lines of textarea from this object?

Yours
QdlatY



More information about the Python-list mailing list