Converting an intergar to a string
Wm. King
wjk at wjk.mv.com
Sun Jan 2 00:45:07 EST 2000
More information about the Python-list mailing list
Sun Jan 2 00:45:07 EST 2000
- Previous message (by thread): Finding where Python is on a Unix server through Telnet?
- Next message (by thread): Converting an intergar to a string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi: As I am relatively new to Python, I had asked basically the same question some time ago... Here is what I found: print "Some Text " + str(num) + "Some text" Hope this helps. Jeremy Lunn wrote: > That fixed that problem. Now would it be possiable to do the opposite > and covert an interger to a string so that it can work like this: > print 'some text'+num+'some text' ? > > Thanks, > > Jeremy > > On Thu, Dec 30, 1999 at 10:32:21PM -0500, Darrell wrote: > > Try this. > > > > num = string.atoi( urlargs["num"].value) > > > -- > Jeremy Lunn > Melbourne, Australia > ICQ: 19255837
- Previous message (by thread): Finding where Python is on a Unix server through Telnet?
- Next message (by thread): Converting an intergar to a string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list