Webware vs. PHP - performance comparision!!!
François Pinard
pinard at iro.umontreal.ca
Mon Oct 6 11:59:56 EDT 2003
[Ian Bicking]
> There was also a problem in your code,
> if 0 < i < 100: ...
> This isn't proper Python, it's interpreted as (0 < i) < 100.
Python is not PL/I. :-) What is improper in PL/I might be proper in
Python. "if 0 < i < 100:" is interpreted as "if (0 < i) and (i < 100):".
I do not know, however, if `i' is evaluated once or twice.
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list