cd 当前目录/..
python3 -O -m compileall -b 当前目录
os.system(f'python -O -m compileall -b {ppath / project}')
if 'windows' in platform().lower():
cmd = fr'del {ppath / project}\*.py'
else:
cmd = fr'rm {ppath / project}/*.py'
os.system(cmd)