Hi Pythoneers, The sessions last saturday were really interesting and so were the people!
I have collected the examples we coded during the "Python 2.5 generators" session in subversion on SourceForge. Specifically: the code of last saturday is here: http://weightless.svn.sourceforge.net/viewvc/weightless/trunk/examples/ I refactored/renamed some stuff as to make it easier to understand. Also, I added two other versions of wordLength() (was lineLength, but it actually worked on words, not on lines ;-) that use list comprehensions and generator expressions. For if you are interested in more of the wonderful features of Python! There is more documentation on Weightless and a link to SF on http://weightless.io There are no file releases yet as this is a work in progress, although parts of it are being used in production code. Parts that are usable are: compose (demonstrated 4th october) acceptor server observable (how to create dynamic pipelines, for next Python day?) Experimental are: gio (Generator I/O, this really is the goal!) httpprotocol I am working on them. Best regards Erik -- >Seek You Too< twitter, skype: ejgroene mobiel: 0624 584 029 _______________________________________________ Python-nl mailing list Python-nl@python.org http://mail.python.org/mailman/listinfo/python-nl