What does str(...) do?

Peter Bittner bittneph at aston.ac.uk
Fri Feb 11 08:36:55 EST 2000


Hi there!

I've seen

    print '....' + str(text) + '...'

in some code (in a function definition).
What does this 'str(...)' really do? - Is it absolutely necessary??

Peter

| Peter H. Bittner
| International Student at Aston University
| e-mail: bittneph at aston.ac.uk
| web: http://beam.to/bimbo
+--------------------------



More information about the Python-list mailing list