摘要:
直接上代码import osdef findactions(path): dict = {} for name in os.listdir(path): name = os.path.join(path,name).replace('\\','/') if os.path.isfile(name): if name.endswith('Controller.cs'): controller = name.split('/')[len(name.split('/'))-1].split('Control... 阅读全文