Did I find the right examples for you? yes no

All Samples(94)  |  Call(0)  |  Derive(0)  |  Import(94)

src/p/y/pydroid-HEAD/src/pydroid/framework/project_skeleton/libs/python27/lib/python2.7/curses/__init__.py   pydroid(Download)
def initscr():
    import _curses, curses
    # we call setupterm() here because it raises an error
    # instead of calling exit() in error cases.
    setupterm(term=_os.environ.get("TERM", "unknown"),
def start_color():
    import _curses, curses
    retval = _curses.start_color()
    if hasattr(_curses, 'COLORS'):
        curses.COLORS = _curses.COLORS

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/curses/__init__.py   main(Download)
def initscr():
    import _curses, curses
    # we call setupterm() here because it raises an error
    # instead of calling exit() in error cases.
    setupterm(term=_os.environ.get("TERM", "unknown"),
def start_color():
    import _curses, curses
    retval = _curses.start_color()
    if hasattr(_curses, 'COLORS'):
        curses.COLORS = _curses.COLORS

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/CPython/27/Lib/curses/__init__.py   main(Download)
def initscr():
    import _curses, curses
    # we call setupterm() here because it raises an error
    # instead of calling exit() in error cases.
    setupterm(term=_os.environ.get("TERM", "unknown"),
def start_color():
    import _curses, curses
    retval = _curses.start_color()
    if hasattr(_curses, 'COLORS'):
        curses.COLORS = _curses.COLORS

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/lib/pyrepl/curses.py   plexnet(Download)
# pure Python module or a PyPy built-in module).
try:
    import _curses
except ImportError:
    try:
        import _minimal_curses as _curses
    except ImportError:
        # Who knows, maybe some environment has "curses" but not "_curses".
        # If not, at least the following import gives a clean ImportError.
        import _curses

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/2.5.2/curses/__init__.py   plexnet(Download)
def initscr():
    import _curses, curses
    stdscr = _curses.initscr()
    for key, value in _curses.__dict__.items():
        if key[0:4] == 'ACS_' or key in ('LINES', 'COLS'):
def start_color():
    import _curses, curses
    retval = _curses.start_color()
    if hasattr(_curses, 'COLORS'):
        curses.COLORS = _curses.COLORS

src/s/p/Spherebot-Host-GUI-HEAD/InkscapePortable/App/Inkscape/python/Lib/curses/__init__.py   Spherebot-Host-GUI(Download)
def initscr():
    import _curses, curses
    # we call setupterm() here because it raises an error
    # instead of calling exit() in error cases.
    setupterm(term=_os.environ.get("TERM", "unknown"),
def start_color():
    import _curses, curses
    retval = _curses.start_color()
    if hasattr(_curses, 'COLORS'):
        curses.COLORS = _curses.COLORS

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/curses/__init__.py   TrustRouter(Download)
def initscr():
    import _curses, curses
    # we call setupterm() here because it raises an error
    # instead of calling exit() in error cases.
    setupterm(term=_os.environ.get("TERM", "unknown"),
def start_color():
    import _curses, curses
    retval = _curses.start_color()
    if hasattr(_curses, 'COLORS'):
        curses.COLORS = _curses.COLORS

src/l/a/landline-server-HEAD/co.whatisuplabs.ldln/lib/play/python/Lib/curses/__init__.py   landline-server(Download)
def initscr():
    import _curses, curses
    # we call setupterm() here because it raises an error
    # instead of calling exit() in error cases.
    setupterm(term=_os.environ.get("TERM", "unknown"),
def start_color():
    import _curses, curses
    retval = _curses.start_color()
    if hasattr(_curses, 'COLORS'):
        curses.COLORS = _curses.COLORS

src/r/e/restcommander-HEAD/play-1.2.4/python/Lib/curses/__init__.py   restcommander(Download)
def initscr():
    import _curses, curses
    # we call setupterm() here because it raises an error
    # instead of calling exit() in error cases.
    setupterm(term=_os.environ.get("TERM", "unknown"),
def start_color():
    import _curses, curses
    retval = _curses.start_color()
    if hasattr(_curses, 'COLORS'):
        curses.COLORS = _curses.COLORS

src/g/o/goagent-ios-HEAD/python/lib/python2.7/curses/__init__.py   goagent-ios(Download)
def initscr():
    import _curses, curses
    # we call setupterm() here because it raises an error
    # instead of calling exit() in error cases.
    setupterm(term=_os.environ.get("TERM", "unknown"),
def start_color():
    import _curses, curses
    retval = _curses.start_color()
    if hasattr(_curses, 'COLORS'):
        curses.COLORS = _curses.COLORS

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