一,python环境搭建
1,python安装(mac os 自带)python2.7
homebrew 下载:brew install python
查看python下载路径:which python
查看当前python版本:python --version
2, pip安装和常用指令【Python3和2.7.9后都,已经集成了pip不需要安装】
安装:apt-get install python-pip
升级:pip install --upgrade pip
安装列表:pip list
显示安装包信息:pip show
显示版本和路径:pip --version
pip 管理工具:https://blog.csdn.net/olanlanxiari/article/details/48086917
二,开发环境搭建
IDE 推荐pycharm
(ps:激活码可以在网上搜索)
ps:后续持续更新pycharm 的用法
三,pycharm 配置
3.1新增文件模版配置
File->settings->Editor->File and Code Templates->Python Script