Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def import_curses():
    import curses
    if not hasattr(curses, 'use_default_colors'):
        def use_default_colors():
            return
        curses.use_default_colors = use_default_colors
    return curses
        


src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/bittorrent-curses.py   kamaelia(Download)
from BitTorrent.ConvertedMetainfo import ConvertedMetainfo
from BitTorrent.prefs import Preferences
from BitTorrent.obsoletepythonsupport import import_curses
from BitTorrent import configfile
from BitTorrent import BTFailure
 
try:
    curses = import_curses()
    import curses.panel
    from curses.wrapper import wrapper as curses_wrapper