1. 設置 python 解釋器:File --> Settings --> Project Administrator --> Project Interpreter --> 選擇 2.7 版本的解析器
2. 設置主題界面和字體:File --> Settings --> Editor --> Color Scheme --> Color Scheme Font --> 這里我們選擇 Darcula 主題
3. 關閉拼寫檢查1:File --> Settings --> Editor --> Inspections --> Spelling (把后面的勾去掉)
關閉拼寫檢查2:File --> Settings --> Editor --> Inspections --> Python --> 找到 PEP 8 開頭的兩行 (把后面的勾去掉)
4. 設置腳本頭文件:File --> Editor --> File and Code Templates --> Python Script --> 加入如下內容
#!/usr/bin/env /python
# -*- coding:utf-8 -*-
# Author:big k