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

All Samples(10)  |  Call(1)  |  Derive(4)  |  Import(5)

src/d/i/dictc-HEAD/DictC/DictCnDict.py   dictc(Download)
except ImportError:
    import json as simplejson
from BaseDict import BaseDict
from urllib import urlencode
from urllib import unquote_plus
from urllib import quote
 
 
class DictCnDict(BaseDict):
        if r.status == 200:
            completions = simplejson.loads(r.read())['s']
            base_dict = BaseDict()
            clean = lambda s: unquote_plus(s.strip())
            data = [(clean(item['g']), base_dict.html2txt(clean(item['e'])))

src/d/i/dictc-HEAD/DictC/StarDict.py   dictc(Download)
    POINTER,
)
from BaseDict import BaseDict
from os import listdir
import os.path
class StarDict(BaseDict):
    metadata = {
        'id': 'stardict',
        'name': u'星际译王'
    }

src/d/i/dictc-HEAD/DictC/External.py   dictc(Download)
# -*- coding: utf-8 -*-
from BaseDict import BaseDict
import subprocess
 
 
class External(BaseDict):

src/d/i/dictc-HEAD/DictC/BingDict.py   dictc(Download)
except ImportError:
    import json as simplejson
from BaseDict import BaseDict
import httplib
import re
class BingDict(BaseDict):
    metadata = {
        'id': 'bing',
        'name': u'Bing 词典',
    }

src/d/i/dictc-HEAD/DictC/__init__.py   dictc(Download)
from .BaseDict import BaseDict
from .DictCnDict import DictCnDict
from .BingDict import BingDict
from .StarDict import StarDict
from .SpellCheck import SpellCheck