def start( control=1):
if control == 1:
from .db import ret2
readline.set_completer(SimpleCompleter(ret2()).complete)
readline.parse_and_bind('tab: complete')
else:
from .db import ret
readline.set_completer(SimpleCompleter(ret()).complete)
readline.parse_and_bind('tab: complete')
评论列表
文章目录