On 28/04/16 14:53, Yeh wrote: > Hi, > Is there a library which can return some numbers continuously?
You probably want to look at the itertools module. There you can find among others the count() generator function. Others of possible interest include cycle() and repeat() -- 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