Is this a BUG?
Oleg Broytmann
phd at phd.pp.ru
Thu Dec 28 06:22:46 EST 2000
On Thu, 28 Dec 2000, QdlatY wrote:
> print "!",form["index"].value,"!"
> FieldStorage(None, None, [MiniFieldStorage('index', '1')])
> ! 1 !
> ----------------
> ^ ^
> Why the hell there are spaces? index property has value '1'!
> not ' 1 '?!
"print" insert spaces on ",". Use sys.stdout.write instead.
Oleg.
----
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list