ãã¿ãç¶ãã®ã§é£æ¥æ稿ã§ã PYTHON_PATHã¨sys.path ãã¦ãååã®è©±ã®ä¸ã§PYTHONPATHã使ã£ã¦ã¤ã³ãã¼ãã§ãããã£ã¬ã¯ããªã追å ãã¦ããããã ããããã¯æçµçã« sys.path ã«è¿½å ããã¦ãã¤ã³ãã¼ãå¯è½ã«ãªã£ã¦ããã PYTHONPATH=aodag.hoge python ã¨ããã°ã$PWD/aodag.hoge ã sys.pathã«è¿½å ãããã®ã§ã¤ã³ãã¼ãã§ããã£ã¦ãããã ãã¡ãããsys.pathã«pythonã³ã¼ãå ã§ç´æ¥ãã¹ã追å ãã¦ãã¾ã£ã¦ããåãããã«ã¤ã³ãã¼ãã§ããã import sys import os sys.path.append(os.path.join(os.getcwd(), 'aodag.hoge') ã£ã¦ããã°ãã«ã¬ã³ããã£ã¬ã¯ããªã®aodag.hogeãã£ã¬ã¯ããªä»¥ä¸ããã¤ã³ãã¼ãå¯è½ã .pthãã¡ã¤ã«ã§ã©ã¤ãã©ãªã
{{#tags}}- {{label}}
{{/tags}}