Search results
Charming Python: Iterators and simple generators - IBM
Search result description:Sep 1, 2001 ... Python 2.2 introduces a new construct accompanied by a new keyword. The
construct is generators; the keyword is yield. Generators make ...
Charming Python: Implementing "weightless threads" with ... - IBM
Search result description:Jun 1, 2002 ... Similar to Stackless Python microthreads, but using standard Python 2.2 ... For
convenience, I also let the generators yield a standard cargo ...
Charming Python: SimPy simplifies complex models - IBM
Search result description:Dec 1, 2002 ... Between each action, you insert a Python "yield" statement, which lets the
simulation scheduler carry out the actions of each waiting process ...
Charming Python: Generator-based state machines - IBM
Search result description:Jul 1, 2002 ... Python 2.2+'s generators take a big step towards coroutines. That is, generators -
- unlike functions/subroutines -- are resumable and can yield ...
Python testing frameworks: Selecting and running tests - IBM
Search result description:Jun 23, 2009 ... The recent emergence of industrial-strength Python testing ... and that uses its
yield statement(s) to return a series of functions together with the ...
Charming Python: Using combinatorial functions in the itertools - IBM
Search result description:Jun 12, 2003 ... Python 2.2 introduced simple generators to the Python language and ... more
straightforward by introducing the yield keyword (the presence of ...
Mix and match Web components with Python WSGI - IBM
Search result description:Aug 22, 2006 ... The Python community created the Web Server Gateway Interface ... the iterator
from the application that will yield response #body fragments ...
Tip: Using generators - IBM
Search result description:Oct 1, 2002 ... Generators are a very powerful new language feature of Python 2.2. ... node, #
then each of its children in turn yield node for child in node.
Writing clean, testable, high quality code in Python - IBM
Search result description:Sep 28, 2010 ... Although Python the language, and Python the community, are heavily ....
_document) for sentence in enumerate(sentences): yield sentence ...
魅力的なPython: イテレーターとシンプル・ジェネレーター - IBM
Search result description:2001年9月1日 ... Python 2.2は、新たなキーワードを伴う新しい構成要素を導入しました。その構成要素と
は「ジェネレーター」であり、キーワードは「yield」です。
Charming Python: Using state machines - IBM
Search result description:State machines, in a theoretical sense, underlie almost everything related to
computers and programming. And it also turns out that state machines, in a
practical ...
Writing plug-ins in Python - IBM
Search result description:Sep 2, 2008 ... Learn how to extend your Python command-line tools by writing plug-ins. ...
which uses generators to walk a filesystem and yield a file object.
Can Cplex Python API solve SOCP or SDP? - IBM
Search result description:Jan 7, 2011 ... You can solve (MI)SOCP problems using the Python API by specifying ... Our
permissive license (BSD) yield no problems in stacking OpenOpt ...
Guide to Python introspection - IBM
Search result description:Dec 1, 2002 ... Python, a dynamic, object-oriented programming language, provides tremendous
introspection support. This article showcases many of its ...
Introducing PyPy - IBM
Search result description:Feb 14, 2012 ... getAttribute(attr) if attrvalue: yield attrvalue return #Read the URL to parse from
the first command line argument #Note: Python lists start at ...