def get_class_dump_path(use_what='class-dump'): if use_what == 'class-dump': # 项目根目录下的class-dump return os.path.join(os.getcwd() + '/class-dump') else: return class_dump_z_path.get(get_system(), os.path.join(os.getcwd() + 'class-dump'))
def get_clas_dump_path(use_what='class-dump'): ''' get class-dump-z path ''' if use_what == 'class-dump': cur_dir = os.getcwd() return os.path.join(cur_dir, 'class-dump') else: system = get_system() return class_dump_z_path.get(system, 'class-dump-z')
def get_clas_dump_path(): ''' get class-dump-z path ''' system = get_system() return class_dump_z_path.get(system, 'class-dump-z')