pycharm中设置自动保存的方法:(推荐:pycharm教程)
菜单File -> Settings… -> Appearance & Behavior -> System Settings
记住勾上2个选项的选中 Synchronize files on frame or editor tab activation
以及save files on frame dectivation
以及save files automatically if application is idle for xxxx sec(xxx代表多少秒,建议数值越小越好!)
更多python知识请关注python教程。
来源:搞代码网:原文地址:https://www.gaodaima.com