PyCharm
1、模板
File => Settings... => Editor=> File and Code Template => Python Script => 右上方
#!/usr/bin/env python #coding=utf-8
OK
===》
2、文字大小
File => Settings... => Editor=> Colors & Fonts => Font => Save As ... => 18
3、运行
a. 点击要运行的文件,右键 Run
b. View => Toolbar
选中要执行的文件
点击 > 运行
c. 在当前文件空白处,右键,Run
4、切换python版本
File => Settings... => Project => Project Interpreter => 选择版本