Is this a BUG?
QdlatY
qdlaty at wielun.dhs.org
Thu Dec 28 04:48:14 EST 2000
Hello!
I have script:
----------------
import cgi
form = cgi.FieldStorage()
print form
print "!",form["index"].value,"!"
------------------
I launched it with parameter index=1
And this is an output:
----------------
FieldStorage(None, None, [MiniFieldStorage('index', '1')])
! 1 !
----------------
^ ^
Why the hell there are spaces? index property has value '1'!
not ' 1 '?!
Yours
QdlatY
More information about the Python-list
mailing list