Skip to content Skip to sidebar Skip to footer
Showing posts with the label Config

How Do You Use Python-decouple To Load A .env File Outside The Expected Paths?

I'm forced to keep my .env file in a non-standard path outside the root of my project (in a sep… Read more How Do You Use Python-decouple To Load A .env File Outside The Expected Paths?

Is It Possible To Change `template_folder` After Initialisation?

Using this Flask bootstrap project, I'd like to specify some parameters that must be defined in… Read more Is It Possible To Change `template_folder` After Initialisation?

Python Logging: Why Is __init__ Called Twice?

I am trying to use python logging with a config file and an own handler. This works to some degree.… Read more Python Logging: Why Is __init__ Called Twice?

Python 2.4.3: Configparser.nosectionerror: No Section: 'formatters'

Trying to use a logging configuration file to implement TimedRotatinigFileHandler. Just won't t… Read more Python 2.4.3: Configparser.nosectionerror: No Section: 'formatters'