.env.python.local -

import os from dotenv import load_dotenv

DB_HOST=localhost DB_PORT=5432 DB_USERNAME=myuser DB_PASSWORD=mypassword .env.python.local

.env.python.local is a file-based approach to storing environment variables for your Python projects. It's a variation of the popular .env file format, specifically designed for Python development. The .local suffix indicates that this file is intended for local development environments, as opposed to production or other environments. DB Port: {db_port}

print(f"DB Host: {db_host}, DB Port: {db_port}, DB Username: {db_username}, DB Password: {db_password}") DB Username: {db_username}

load_dotenv('.env.python.local')

快適な配信をしたい方へ
PCスペック足りてますか?
配信におすすめのゲーミングPCは?

快適な配信には、ゲーミングPCが必要です

でもどれを選べばいいのかよくわからない…

そんな方のために、当サイトでは配信向けゲーミングPCの選び方をやさしく解説しています

今のスペックに不満のある方は、ぜひチェックしてみてください

記事URLをコピーしました