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

All Samples(150)  |  Call(6)  |  Derive(81)  |  Import(63)

src/b/l/blueman-HEAD/blueman/bluez/Manager.py   blueman(Download)
from Adapter import Adapter
from PropertiesBlueZInterface import PropertiesBlueZInterface
from errors import raise_dbus_error, DBusNoSuchAdapterError
from dbus.mainloop.glib import DBusGMainLoop
 
    def list_adapters(self):
        if self.__class__.get_interface_version()[0] < 5:
            adapters = self.get_interface().ListAdapters()
            return [Adapter(adapter) for adapter in adapters]
        else:
                if 'org.bluez.Adapter1' in interfaces:
                    adapters.append(path)
            return [Adapter(adapter) for adapter in adapters]
 
    @raise_dbus_error

src/w/e/Webware-for-Python-1.1.1/WebKit/Adapters/ModPythonAdapter.py   Webware-for-Python(Download)
import sys
 
from Adapter import Adapter
 
debug = 0
__adapter = None
bufsize = 32*1024
 
 
class ModPythonAdapter(Adapter):

src/w/e/Webware-for-Python-1.1.1/WebKit/Adapters/LRWPAdapter.py   Webware-for-Python(Download)
import os, sys
from lrwplib import LRWP
from Adapter import Adapter
 
 
class LRWPAdapter(Adapter):
 
    def __init__(self, webKitDir=webKitDir):
        Adapter.__init__(self, webKitDir)
        if sys.platform == 'win32':

src/w/e/Webware-for-Python-1.1.1/WebKit/Adapters/FCGIAdapter.py   Webware-for-Python(Download)
from socket import *
import fcgi
from Adapter import Adapter
 
 
class FCGIAdapter(Adapter):

src/w/e/Webware-for-Python-1.1.1/WebKit/Adapters/CGIAdapter.py   Webware-for-Python(Download)
 
import sys, os, time
from Adapter import Adapter
 
 
class CGIAdapter(Adapter):

src/b/l/blueman-HEAD/blueman/bluez/__init__.py   blueman(Download)
from Adapter import Adapter
from AgentManager import AgentManager
from Device import Device
from Manager import Manager