Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Spyder可以在启动时执行代码;甚至可以在 Spyder 首次启动时运行整个 .py 文件。我只是想知道 Spyder 关闭时是否有类似的情况?也就是说,在您关闭/退出 Spyder 时自动执行一个 .py 文件(因此该文件将在 Spyder 关闭之前执行)?