Pycharm相关问题
安装Pycharm教程
专业版和社区版都可以
修改pip源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
其它的源:
- 清华大学: https://pypi.tuna.tsinghua.edu.cn/simple
- 阿里云: https://mirrors.aliyun.com/pypi/simple/
- 豆瓣: https://pypi.douban.com/simple/
- 中国科学技术大学: https://pypi.mirrors.ustc.edu.cn/simple/
为什么Pycharm在命名函数test_时会启动测试
- 如下图设置一下即可。
Pycharm 快捷键
设置
ctrl + alt + s
去除缩进
shift + tab
可以选中多行之后,shift + tab即可集体取消缩进
删除一行
ctrl + y
代码补全(已有AI助手)
ctrl + alt + /