pycharm的一些使用方法
1.pycharm关闭pytest方式如下
File -> Settings -> Tools -> Python Intergrated Tools,右边Testing
选择Unittests
即可
2.复制一行到下一行
ctrl+d
3.更新pip下载源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
or
pip config set global.index-url http://pypi.douban.com/simple/
如何改回原来的源:
pip config unset global.index-url