-B
python3 -B test.py
export PYTHONDONTWRITEBYTECODE=1
import sys sys.dont_write_bytecode = True
python3如何不生成pyc文件
原文:https://www.cnblogs.com/hiyang/p/12629998.html