Easy Q: dealing with object type

Fredrik Lundh fredrik at pythonware.com
Thu Feb 3 13:29:15 EST 2005


Erik Johnson wrote:

>    As an aside, I notice a lot of other people's interpreters actually
> print 'True' or 'False' where my system prints 0 or 1. Is that a
> configuration that can easily set somewhere?

$ python2.1 -c "print 1 == 1"
1

$ python2.2 -c "print 1 == 1"
1

$ python2.3 -c "print 1 == 1"
True

$ python2.4 -c "print 1 == 1"
True

</F> 






More information about the Python-list mailing list