Python 2.3 True = False
John Machin
sjmachin at lexicon.net
Mon Mar 24 06:21:38 EST 2003
On 23 Mar 2003 22:58:14 -0800, anand at calbay.com (Anand) wrote:
>>>> True = False
>has anyone tried this before?
Yes. Also lots of other exciting exploits like this
>>> import sys
>>> sys.maxint
2147483647
>>> sys.maxint = 1
>>> sys.maxint
1
>>>
but don't worry; it's not addictive, and contrary to what your mum
says, it won't send you blind. After a while, you'll stop messing
about and get back to programming.
More information about the Python-list
mailing list