æè¿ JavaScript ãæ¸ãæ©ä¼ãå¢ãã¦ããããããã«å¾ã£ã¦èªåã®ã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ãå°ãã¥ã¤ã ãå¤åãã¦ãã¦ããã®ãåããããã¨ãã¨ãã³ã¼ãã®èªã¿ããããããå®è¡å¹çãã«ã¨ãã¨ããã ããã¿ã¤ãã ããï¼JavaãC++ã«ãªãã¦ï¼JavaScriptãRubyã«ããã¯ãã¼ã¸ã£ãç¡åé¢æ°ãç§ã®ã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ã«ã¨ã¦ãããããã¦ããããã ã¨æãã ç°¡åãªä¾ãç´¹ä»ããããPythonã§æ¸ããã config.py ã¨ããã¢ã¸ã¥ã¼ã«ãconfig.yamlã¨ããè¨å®ãã¡ã¤ã«ãèªã¿è¾¼ã㧠Dictionary ã¨ãã¦è¿ã config.get() ã¨ããé¢æ°ãæ®éã«å®è£ ããã¨ã以ä¸ã®ãããªæãã«ãªãã import yaml _config = None def get(): global _config if not _config: data = open('config.yaml')
{{#tags}}- {{label}}
{{/tags}}