Hi, I am trying to merge two flask apps, both from Miguel Grinberg's Flask-SocketIO-Chat into another one of his Microblog so that after user login to the main microblog then the other Chat app could be launched if user selects of the options, which in this case is the Chat.
The idea is learn how to merge different Flask apps as one. Sent from my iPhone > On 29 Sep 2015, at 10:36, Alan Gauld <alan.ga...@btinternet.com> wrote: > > On 29/09/15 08:33, Peter Otten wrote: > >>> hide 1 show 2,3,4 hide 5, show 6,7,8 etc. >>> >>> thanks in advance >> >> You can use del on a slice: > > And just for kicks you can use a list comprehension: > > print [n for i,n in enumerate(a) if i%4] > > hth > -- > 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 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor