PyCharm 常用功能
一.Pycharm的基本使用
1.在Pycharm下为你的Python项目配置Python解释器:
Setting>Project Interpreter>
二.在Pycharm下创建Python文件、Python模块
1.File>New>Python File
2.File>New>Python Package
三.使用Pycharm安装Python第三方模块
Setting>Project:项目名>Project Interpreter>点击右侧绿色+
四.Pycharm基本设置
1.设置菜单字体大小:
Setting>Appearance&Behavior>Appearance
2.设置Console$Terminal字体大小:
Setting>Editor>Colors&Fonts>Console Font
3.设置文件编码:
Setting>Editor>File Encodings IDE Encodings;Project Encoding;Properties Files都设置为UTF-8
4.修改背景颜色:
Setting>Editor>Color&Fonts>General>右边Text下面选中Default text>修改Background颜色即可
5.不使用tab、tab=4空格:
Setting>Editor>Colors Style>Python
6.字体、字体颜色:
Setting>Editor>Colors&Fonts>Python
7.关闭自动更新:
Setting>Appearance&Behavior>System Settings>Updates
8.脚本头设置:
Setting>Edit>File and Code Templates>Python Script
(1).控制光标位置:#[[ E N D END E