Pythonをexeした際にスクリプト実行パスを取得する方法 https://syachiku.net/python%e3%82%92exe%e3%81%97%e3%81%9f%e9%9a%9b%e3%81%ab%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e5%ae%9f%e8%a1%8c%e3%83%91%e3%82%b9%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95/