예제 #1
0
 def ImagePath():
     '''
     图标目录,config/image/
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/config/image'
예제 #2
0
 def DataPath():
     '''
     data/测试数据路径,本地测试数据,和业务无关
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/data'
예제 #3
0
 def ConfigPath():
     '''
     配置文件路径   config/
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/config'
예제 #4
0
 def LibNetPath():
     '''
     net动态库路径
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/lib/net'
예제 #5
0
 def LibPath():
     '''
     lib路径
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/lib'
예제 #6
0
 def LogPath():
     '''
     logs/logs
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/logs/logs'
예제 #7
0
 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'