- 博客(7)
- 收藏
- 关注
原创 pyqt5 textEdit、lineEdit 追加字符串
str='要显示的字符串' self.textEdit.append(str)可用于循环输出详:https://xiaopengzhen.blog.csdn.net/article/details/104984966
2021-07-25 14:37:11 1599 1
原创 pycharm 常用快捷键
ctrl+c: 选中内容时复制内容,不选中内容时复制当前行ctrl+x: 选中内容时剪切内容,不选中内容时剪切当前行ctrl+v: 粘贴ctrl+d: 复制当前行到下一行ctrl+y: 删除当前行ctrl+z: 撤回到上一步ctrl+shift+z: 撤回到下一步shift+enter: 当前行到下一行(创建空白行)ctrl+'/': 添加单行注释 (也是取消注释)tab: 缩进shift+tab: 取消缩进ctrl+f: 查找ctrl+shift+f:...
2021-07-25 12:18:16 120
转载 py文件中执行py文件
# 由于ipconfig/all在windows中是查看ip地址# 所以将此命令运行在os.system中,即可查看系统的ip地址等信息import osos.system('ipconfig/all')# 因为python file_name.py可以直接执行py文件# 所以可以通过os.system来执行py代码import osos.system('python file_name.py')winimport osos.system('ls') # 查看当前工作目录文件.
2021-07-25 11:02:15 605
原创 mvcc 安装失败
安装mmcv步骤pip install pytest-runner -i http://pypi.douban.com/simple --trusted-host pypi.douban.compip install mmcv -i http://pypi.douban.com/simple --trusted-host pypi.douban.comapt-get install python-setuptools
2021-07-23 23:58:12 306 1
转载 转:国内的一些pip源
下载源国内的一些pip源:阿里云 http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/豆瓣(douban) http://pypi.douban.com/simple/清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/使用方法:在后面直接 -i 加 urlC:\WINDOWS\system32>pip install
2021-07-23 16:32:59 57
转载 anaconda 无法联网 报错 check server host_name
chanel 源设置问题或者本地vpn/代理问题解决:channels: - defaultsshow_channel_urls: truedefault_channels: - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free - http://mirrors.tuna.tsinghua.edu.cn/a
2021-07-23 13:18:55 380
原创 anaconda 虚拟环境 install不是内部命令
解决:pychram 终端中 退出该虚拟环境conda deactivate报错 pip install -r requirement.txtERROR: Could not find a version that satisfies the requirement torch==1.1.0 (from -r requirement.txt (line 1)) (from versions: none)ERROR: No matching distribution found.
2021-07-23 13:12:37 164 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人