[Python] __main__文件所在目錄 發佈日期: 2021 年 2 月 27 日 作者: Sky Leong os.path.dirname(sys.modules['__main__'].__file__) 相關文章vs-code-python設定interpreter[Python] 發送含附件email透過Telegram API發送圖片 (本機上傳)VS Code python formatter (Black Formatter)[Python] list contains dictionary (含元素指定)[Python] 文字轉語音 (離線支持多語言)