Exemple #1
0
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import os
import sys

BASEDIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASEDIR)

from src.scripts import client

if __name__ == '__main__':
    client()
# from lib import log
#
# obj = log.Logger()
# # obj.log('asdfasdfasdfasdf',True) # 运行日志
# obj.log('失败',False) # 运行日志

Exemple #2
0
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import os
import sys

BASEDIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASEDIR)

from src.scripts import client

if __name__ == '__main__':
    ret = client()
    #print(ret)