一、PyChram下载
官网:http://www.jetbrains.com/pycharm文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
Windows:http://www.jetbrains.com/pycharm/download/#section=windows文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
Linux:http://www.jetbrains.com/pycharm/download/#section=linux文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
Mac:http://www.jetbrains.com/pycharm/download/#文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
二、PyChram简单使用文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
1.添加或者修改文件模板
File->settings->Editor->File and Code Templates->Python Script文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
第一行指定Python路径,当脚本在linux机器上使用时需要文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
第二行指定编码格式,py2里面需要,py3里面不需要指定文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
2. python版本管理切换
File->settings->Prgject:python->project interpreter文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
3. 已有文件重命名
右击要重命名的文件->refactor->rename文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
4. Python模块安装
File->settings->Prgject:python->project interpreter
安装、升级、卸载模块均可文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
5. 在PyChram中直接浏览文件目录
右击文件选择show in explorer文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
6.PyChram Tab键补全文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
字符集编码设置为UTF-8文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
8.PyChram字体设置文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
显示行号文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
如何调出工具栏文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
11 PyChram常用快捷键文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html
1文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html 2文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html 3文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html 4文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html 5文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html 6文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html 7文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html 8文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html 9文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/20080.html |
|