Did I find the right examples for you? yes no

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

src/s/m/SmartWall-HEAD/lib/Segment.py   SmartWall(Download)
    def __init__(self):
        self.host = "http://%s:%d/?" % (config.SEGMENT_HOST,config.SEGMENT_PORT)
 
    def seg_txt(self, txt):
        seg_path = "%s%s" % (self.host, urlencode(dict(w=txt.decode("utf-8").encode("gb2312"))))