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://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to