py environment variables register in flask

  1. Import the required module from the Flask framework.
  2. Create an instance of the Flask class.
  3. Define the environment variable using the os module.
  4. Access the environment variable using the os.getenv() method.
  5. Use the environment variable in the Flask application as needed.