ã³ã¼ã æ¢ã«OSçã§å®ç¾©æ¸ã¿ã®ç°å¢å¤æ°ã.envã®å 容ã§ä¸æ¸ãå®è¡ããå ´åã¯ããªãã·ã§ã³ã«override=Trueãæå®ããã from dotenv import load_dotenv from flask import Flask from pymongo import MongoClient load_dotenv(override=True) app = Flask(__name__) mongo = MongoClient(os.getenv('MONGO_URI')) ... app.run()
{{#tags}}- {{label}}
{{/tags}}