What does str(...) do?

Peter Bittner bittneph at aston.ac.uk
Fri Feb 11 14:36:55 CET 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