[工具] pycharm

安装python

python3.8
第一个页面在这里插入图片描述
第三个页面
在这里插入图片描述
PowerShell里面检查是否安装成功在命令行中执行

$ python -V
Python 3.8.0

备注:如果找不到python命令,请查看python相关环境变量是否设置,

查看系统环境变量 PATH中是否包含

C:\Program Files\Python38\Scripts\ 和 C:\Program Files\Python38\

(2)安装包管理工具pip

python -m pip install -U pip
 
检查是否正常安装
$ pip --version
pip 20.2.4 from c:\python3\lib\site-packages\pip (python 3.8)
 
切换包管理源:
pip config set global.index-url  https://pypi.tuna.tsinghua.edu.cn/simple

下载和安装python IDE pycharm

从NAS上获取 “工业及仿真软件/dev/pycharm-community-2020.2.3.exe ”或者

https://www.jetbrains.com/pycharm/download/#section=windows

勾选"64-bit launcher " 和update context menu
在这里插入图片描述
快捷方式

Ctrl + 鼠标 跳转到(变量、方法、类)声明

Ctrl + / 行注释

Ctrl + Shift + / 块注释

Ctrl + Shift + ]/[ 选定代码块结束、开始

Alt + / 自动完成(联想)

Ctrl + Alt + L 代码格式化

Ctrl + Alt + O 优化导入

Ctrl + Alt + I 自动缩进

Tab / Shift + Tab 缩进、不缩进当前行

Ctrl + D 复制选定的区域或行

参考 https://www.jianshu.com/p/d237a738c9cf

参考 https://zhuanlan.zhihu.com/p/28789759

(6)创建第一工程

7.1 本地创建一个空文件夹,比如 E:\gitstudy\learnproject\py001

7.2 双击桌面图标, 打开pycharm

7.3 New Project
在这里插入图片描述
(7)python IDE Pycharm字体配置
配置窗口字体
在这里插入图片描述
配置编辑器字体
在这里插入图片描述
(8) 入门+提升
《Python 入门教程》

https://docs.python.org/zh-cn/3/tutorial/index.html

或者

https://learnku.com/docs/python-tutorial/3.8

《Python Cookbook(第3版)中文版》

https://python3-cookbook.readthedocs.io/zh_CN/latest/copyright.html#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值