def ImagePath(): ''' 图标目录,config/image/ :return: ''' p_path = gp.get_sys_path() # 系统路径 return p_path + '/config/image'
def DataPath(): ''' data/测试数据路径,本地测试数据,和业务无关 :return: ''' p_path = gp.get_sys_path() # 系统路径 return p_path + '/data'
def ConfigPath(): ''' 配置文件路径 config/ :return: ''' p_path = gp.get_sys_path() # 系统路径 return p_path + '/config'
def LibNetPath(): ''' net动态库路径 :return: ''' p_path = gp.get_sys_path() # 系统路径 return p_path + '/lib/net'
def LibPath(): ''' lib路径 :return: ''' p_path = gp.get_sys_path() # 系统路径 return p_path + '/lib'
def LogPath(): ''' logs/logs :return: ''' p_path = gp.get_sys_path() # 系统路径 return p_path + '/logs/logs'
def __init__(self): p_path = gp.get_sys_path() # 系统路径 self.config = p_path + '/config' self.image = p_path + '/config/image' self.data = p_path + '/data' self.logs = p_path + '/logs' self.log = p_path + '/logs/logs' self.lib = p_path + '/lib'