Skip to main content

Learn about > python yield

Search results

1-15 of 489 resultsView all results

Search result title:

Charming Python: Iterators and simple generators

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 ...

Search result title:

Charming Python: Generator-based state machines

Search result description:Introduced in Python 2.2, simple generators may be used to simplify state ...
Iterative function becomes a generator from math import sin while 1: yield n n ...

Search result title:

Charming Python: Implementing "weightless threads" with Python ...

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 ...

Search result title:

Charming Python: SimPy simplifies complex models

Search result description:Between each action, you insert a Python "yield" statement, which lets the
simulation scheduler carry out the actions of each waiting process before
returning ...

Search result title:

Charming Python: Using combinatorial functions in the itertools ...

Search result description:With Python 2.3, generators become standard (no need for _future_, and the new
... more straightforward by introducing the yield keyword (the presence of yield ...

Search result title:

Python testing frameworks: Selecting and running tests

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 ...

Search result title:

魅力的なPython: Pythonジェネレーターで「無重量スレッド」を実装する

Search result description:2002年6月1日 ... Davidは、以前の「魅力的なPython」の記事で、ジェネレーターや簡単な .... for nin
xrange(TOTALSWITCHES/NUMTHREADS): yield None def ...

Search result title:

魅力的なPython: イテレーターとシンプル・ジェネレーター

Search result description:2001年9月1日 ... Python 2.2は、新たなキーワードを伴う新しい構成要素を導入しました。その構成要素と
は「ジェネレーター」であり、キーワードは「yield」です。

Search result title:

Mix and match Web components with Python WSGI

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 ...

Search result title:

Writing plug-ins in Python

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.

Search result title:

Writing clean, testable, high quality code in Python

Search result description:Sep 28, 2010 ... Although Python the language, and Python the community, are heavily ....
_document) for sentence in enumerate(sentences): yield sentence ...

Search result title:

Python Analytic Executables API Reference

Search result description:This guide provides an API reference for Python AE programmers. .... Returns a
generator that yields a shared library name and the corresponding full path for ...

Search result title:

魅力的なPython: 複雑なモデルをシンプルにするSimPy

Search result description:2002年12月1日 ... 個々のアクションの間には、Pythonyield文が挿入されますが、これは、制御を戻す
までの間、待機中の各プロセスのアクションをシミュレーション・ ...

Search result title:

DONE! using python to read .sav files using spssio32.dll

Search result description:Apr 8, 2011 ... I have written a Python wrapper for the SPSS I/O module. ..... else: raise
Exception, "Variable names list misspecified" if returnHeader: yield self.

Search result title:

Guide to Python introspection

Search result description:Dec 1, 2002 ... Introspection reveals useful information about your program's objects. Python, a
dynamic, object-oriented programming language, provides ...


1-15 of 489 resultsView all results