您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

20 行
616 B

#!/usr/bin/env python3.7
from ChatInterface import ChatInterface
from ChatConnection import ChatConnection
if __name__ == "__main__":
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("host",
metavar="HOST",
help='Host IP to connect to.',
type=str)
parser.add_argument("port",
metavar="PORT",
help='Host PORT to connect to.',
type=int)
args = parser.parse_args()
ChatInterface(ChatConnection(args.host, args.port)).start()