Converting itegers to strings
Ivan Van Laningham
ivanlan at callware.com
Fri Jul 23 19:23:07 EDT 1999
Hi All--
Chris Frost wrote:
>
> How can you convert numbers (an interger in this case) to strings? (i.e. I
> have some_number = 3, and would like to use it as a string)
>
some_number = `3`
;-)
or
some_number = str(3)
You might want to consider joining the python-tutor mailing list. You
can find out how at
http://www.python.org
<python-slices-and-dices-too>-ly y'rs,
Ivan
----------------------------------------------
Ivan Van Laningham
Callware Technologies, Inc.
ivanlan at callware.com
ivanlan at home.com
http://www.pauahtun.org
See also:
http://www.foretec.com/python/workshops/1998-11/proceedings.html
Army Signal Corps: Cu Chi, Class of '70
----------------------------------------------
More information about the Python-list
mailing list