pip install python-decouple KEY=your_key PASSWORD=your_password python from decouple import config python key = config('KEY') python port = config('PORT', cast=int) python key = config('KEY', default='') python debug = config('DEBUG', cast=bool) python app_name = config('APP_NAME', default='MyApp') app_version = config('APP_VERSION', default='1.0')


上一篇:
下一篇:
切换中文