how to change flask environment to development in python file code example Example: set environment variable flask app app.config['ENVIRONMENT_VAR'] = "var name here"