python vs ecmascript
Peoter Veliki
peoter_veliki at hotmail.com
Fri Nov 16 17:03:27 EST 2001
More information about the Python-list mailing list
Fri Nov 16 17:03:27 EST 2001
- Previous message (by thread): python vs ecmascript
- Next message (by thread): python vs ecmascript
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > also a bit annoyed at some things like having to wrap objects in a str() > > before > > printing, I don't see why this can't be automatic. > > Since when? The print statement automatically invokes str() on its arguments. > From the documentation: I'm using Python 2.0 at the moment (it is necessary as it is integrated into another product), perhaps this limitation was removed in later versions. If I try to do this: print "integer i = " + i it will barf on this and tell me that i is not a string, I must do this: print "integer i = " + str(i)
- Previous message (by thread): python vs ecmascript
- Next message (by thread): python vs ecmascript
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list