Get environment variable

    0

    9

    environment
    Python public recipes

    Get environment variable with default value

    import os
    
    os.getenv("ENV_VARIABLE", default_value)
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.