This commit is contained in:
test 2022-11-27 22:47:24 +08:00
parent 2378494d7c
commit 7526124039
1 changed files with 5 additions and 2 deletions

3
run.py
View File

@ -99,3 +99,6 @@ if __name__ == '__main__':
except:
traceback.print_exc()
os.chdir(root_path)
with open('README.md', 'w', encoding='utf8') as f:
f.write('# Goby POC统计\n| 文件类型 | 数量 |\n| :----:| :----: |\n| go | {} |\n|\n| json | {} |'.format(
len([file for file in os.listdir('go') if file.endswith('.go')]), len([file for file in os.listdir('json') if file.endswith('.json')])))