示例#1
0
#!/usr/bin/env python
#-*- coding:utf-8 -*-
import sys
import apporo

app = apporo.new(sys.argv[1]);
ret = apporo.retrieve(app, sys.argv[2]);
for item in ret:
    print item
ret = None
res = apporo.delete(app);
res = None
app = None
示例#2
0
 def __init__(self, path):
     self.app = apporo.new(path)