Skip to content
Pybites

Pybites

  • Training
  • Certifications
  • Community
  • Code Platform
  • Articles
  • Search

Articles on python-dotenv

Concepts

Adventures in Import-land, Part II

By Ashlynn Antrobus on 8 April 2024

“KeyError: ‘GOOGLE_APPLICATION_CREDENTIALS‘” It was way too early in the morning for this error. See if you can spot the problem. I hadn’t had my coffee before trying to debug the code I’d written the night before, so it will probably take you less time than it did me. app.py: file_handling.py: See the problem? This was… Continue reading Adventures in Import-land, Part II

Modules

How to handle environment variables in Python

By Bob Belderbos on 31 August 2021

In this article I will share 3 libraries I often use to isolate my environment variables from production code. Why is this important? Separate config from code As we can read in The Twelve-Factor App / III. Config: Apps sometimes store config as constants in the code. This is a violation of twelve-factor, which requires strict… Continue reading How to handle environment variables in Python

PDM Program

  • Log In
  • About PDM

PyBites

  • Catalogue
  • Podcast
  • Articles
  • Platform
  • Community
  • Shop

Resources

  • About Us
  • Contact Us
  • Sitemap
  • Privacy Policy

Mailing List

Subscribe to our mailing list and receive the PyBites Effective Developer Package for free.

  • Twitter
  • LinkedIn
  • Facebook
  • YouTube
  • Github
  • RSS
Powered by coffee, © 2025 PyBites.