编辑器
import cgitb cgitb.enable() print("cgitb")
cgitb
DeprecationWarning: 'cgitb' is deprecated and slated for removal in Python 3.13