On 20/02/17 09:36, Steven D'Aprano wrote:
> Comma after "button" is not needed.
>
> cmds.button(label ="button" + srt(i+1))
>
> may be better.
and
cmds.button(label ="button" + str(i+1))
better still :-)
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http
On Sun, Feb 19, 2017 at 11:05:35PM -0300, Juan Pablo Valladares wrote:
> hi friend.
>
> i send you this email for say you you have a great project with the python
> correctos, i dont know if you can help me with one code i try to make
> functionality but not work i wish can you help me, thank y
hi friend.
i send you this email for say you you have a great project with the python
correctos, i dont know if you can help me with one code i try to make
functionality but not work i wish can you help me, thank you and than you
again, to following the line with the error:
for i in range (10
On 4/5/06, Keo Sophon <[EMAIL PROTECTED]> wrote:
>
> how to convert an integer number to string?
Use str(object) to convert an object to a string. For example:
>>> str(42)
'42'
The reverse function is int(x) to convert a string to an integer:
>>> int('42')
42
_
hi,
how to convert an integer number to string?
thanks,
phon
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor