Did I find the right examples for you? yes no

All Samples(44)  |  Call(0)  |  Derive(0)  |  Import(44)
Twisted Internet: Asynchronous I/O and Events.

Twisted Internet is a collection of compatible event-loops for Python. It contains
the code to dispatch events to interested observers and a portable API so that
observers need not care about which event loop is running. Thus, it is possible
to use the same code for different loops, from Twisted's basic, yet portable,
select-based loop to the loops of various GUI toolkits like GTK+ or Tk.

src/w/r/writing_games_tutorial-HEAD/examples/network_and_menu/client.py   writing_games_tutorial(Download)
import network
import twisted.internet
from twisted.spread import pb
from twisted.internet.task import LoopingCall
from twisted.internet.selectreactor import SelectReactor

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/internet/main.py   hortonworks-sandbox(Download)
def installReactor(reactor):
    # this stuff should be common to all reactors.
    import twisted.internet
    import sys
    assert not sys.modules.has_key('twisted.internet.reactor'), \

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/internet/main.py   oh-mainline(Download)
    """
    # this stuff should be common to all reactors.
    import twisted.internet
    import sys
    if 'twisted.internet.reactor' in sys.modules:

src/z/o/zope.app.twisted-3.5.0/src/twisted/internet/main.py   zope.app.twisted(Download)
def installReactor(reactor):
    # this stuff should be common to all reactors.
    import twisted.internet
    import sys
    assert not sys.modules.has_key('twisted.internet.reactor'), \

src/t/w/Twisted-13.2.0/twisted/internet/main.py   Twisted(Download)
    """
    # this stuff should be common to all reactors.
    import twisted.internet
    import sys
    if 'twisted.internet.reactor' in sys.modules:

src/m/y/mythbox-HEAD/resources/lib/twisted/twisted/internet/main.py   mythbox(Download)
def installReactor(reactor):
    # this stuff should be common to all reactors.
    import twisted.internet
    import sys
    assert not sys.modules.has_key('twisted.internet.reactor'), \

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/internet/main.py   SubliminalCollaborator(Download)
    """
    # this stuff should be common to all reactors.
    import twisted.internet
    import sys
    if 'twisted.internet.reactor' in sys.modules:

src/u/n/UnitScan-HEAD/twisted/internet/main.py   UnitScan(Download)
    """
    # this stuff should be common to all reactors.
    import twisted.internet
    import sys
    if 'twisted.internet.reactor' in sys.modules:

src/p/y/PythonForumIDE-HEAD/pythonforumide/twisted/internet/main.py   PythonForumIDE(Download)
    """
    # this stuff should be common to all reactors.
    import twisted.internet
    import sys
    if 'twisted.internet.reactor' in sys.modules:

src/e/m/emen2-2.2b7/emen2/web/server.py   emen2(Download)
# Twisted imports
from twisted.application import internet
import twisted.internet
import twisted.internet.reactor
import twisted.web.static

  1 | 2 | 3 | 4 | 5  Next