How can I detect if Python is running in Python Development Mode?

后端 未结 0 1606
旧巷少年郎
旧巷少年郎 2021-01-01 01:24

To turn on Python Development Mode, you can use this flag:

python3 -X dev example.py

or use this environment variable:

PYTHOND         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题