Did I find the right examples for you? yes no

All Samples(625)  |  Call(0)  |  Derive(0)  |  Import(625)
twisted.python.usage is a module for parsing/handling the
command line of your program.

For information on how to use it, see
U{http://twistedmatrix.com/projects/core/documentation/howto/options.html},
or doc/core/howto/options.xhtml in your Twisted directory.

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/core/examples/mouse.py   hortonworks-sandbox(Download)
 
import sys
from twisted.python import usage, log
from twisted.protocols.mice import mouseman
 

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/core/examples/gpsfix.py   hortonworks-sandbox(Download)
#!/usr/bin/python
"""
GPSTest is a simple example using the SerialPort transport and the NMEA 0183 and Rockwell Zodiac GPS protocols to display fix data as it is received from the device.
"""
from twisted.python import log, usage

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/core/examples/mouse.py   oh-mainline(Download)
 
import sys
from twisted.python import usage, log
from twisted.protocols.mice import mouseman
 

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/core/examples/gpsfix.py   oh-mainline(Download)
the device.
"""
from twisted.python import log, usage
import sys
 

src/t/w/Twisted-13.2.0/doc/core/examples/mouse.py   Twisted(Download)
 
import sys
from twisted.python import usage, log
from twisted.protocols.mice import mouseman
 

src/t/w/Twisted-13.2.0/doc/core/examples/gpsfix.py   Twisted(Download)
the device.
"""
from twisted.python import log, usage
import sys
 

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/web/examples/tkwebmon.py   hortonworks-sandbox(Download)
import Tkinter as Tk
from twisted.web import monitor
from twisted.python import usage
import time, urlparse
 

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/core/examples/ftpclient.py   hortonworks-sandbox(Download)
from twisted.protocols.ftp import FTPClient, FTPFileListProtocol
from twisted.internet.protocol import Protocol, ClientCreator
from twisted.python import usage
from twisted.internet import reactor
 

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/core/examples/ftpclient.py   oh-mainline(Download)
from twisted.protocols.ftp import FTPClient, FTPFileListProtocol
from twisted.internet.protocol import Protocol, ClientCreator
from twisted.python import usage
from twisted.internet import reactor
 

src/t/w/Twisted-13.2.0/doc/names/examples/testdns.py   Twisted(Download)
from twisted.internet.task import react
from twisted.names import client, dns, error
from twisted.python import usage
 
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next