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

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/BitTorrent/__init__.py   kamaelia(Download)
 
from BitTorrent.language import languages, language_names
from BitTorrent.platform import get_home_dir, is_frozen_exe
 
if os.name == 'posix':
    class Stderr(baseclass):
        logroot = get_home_dir()
 
        if logroot is None:
            logroot = os.path.splitdrive(sys.executable)[0]

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/BitTorrent/Desktop.py   kamaelia(Download)
import sys
 
from BitTorrent.platform import get_home_dir, get_shell_dir
if os.name == 'nt':
    from win32com.shell import shellcon
    desktop = get_shell_dir(shellcon.CSIDL_DESKTOPDIRECTORY)
else:
    homedir = get_home_dir()
    if homedir == None :
        desktop = '/tmp/'

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/BitTorrent/IPC.py   kamaelia(Download)
 
from BitTorrent.RawServer_magic import RawServer, Handler
from BitTorrent.platform import get_home_dir, get_config_dir
from BitTorrent import INFO, WARNING, ERROR, CRITICAL, BTFailure, app_name