1、去掉“自动保存功能”
pycharm默认是自动保存的,习惯自己按 ctrl + s 的可以进行如下设置:
菜单File -> Settings... -> Appearance & Behavior -> System Settings
去掉以下2个选项的选中
Synchronize files on frame or editor tab activation
Save files on frame deactivation
菜单File -> Settings... -> Editor -> General -> Editor Tabs
选中以下选项
Mark modified tabs with asterisk
2、配置工程解释器(Project Interpreter)
打开任意一个Project,
菜单File -> Settings... -> Project:[打开的Project] -> Project Interpreter
选择目标解释器路径即可
3、pep8格式化
Ps:这个以后心情好了再写,pycharm的pep8格式化代码真的把代码格得好丑啊啊啊啊!!!!!