- 博客(6)
- 收藏
- 关注
原创 python读取excel中的图片超链接,批量下载到本地。python+excel
import xlrdimport requestsread_path="美团——健身房.xlsx"bk = xlrd.open_workbook(read_path)shxrange = range(bk.nsheets)try: sh = bk.sheet_by_name("sheet1")except: print("no sheet in %s named sheet1" % read_path)# 获取总行数nrows = sh.nrowsprint("nrow
2020-06-30 00:56:14
4502
6
原创 联想win0笔记本电脑相机打不开,提示我们找不到你的相机?
联想win0笔记本电脑相机打不开,提示我们找不到你的相机?出现这种情况可能是相机的驱动程序出现了问题,在这种可能性下,我们应该安装摄像头的驱动程序。驱动程序驱动程序一般指的是设备驱动程序(Device Driver),是一种可以使计算机和设备进行相互通信的特殊程序。相当于硬件的接口,操作系统只有通过这个接口,才能控制硬件设备的工作,假如某设备的驱动程序未能正确安装,便不能正常工作。因此,驱动程序被比作“ 硬件的灵魂”、“硬件的主宰”、“硬件和系统之间的桥梁”等。驱动程序是硬件厂商根据操作系统编写的配
2020-06-13 20:34:03
11894
5
原创 使用pip安装wordcloud
一、启动命令行CMD输入:pip3 install --index-urlhttps://pypi.douban.com/simple wordcloud二、出现以下错误C:\Users\zhangsan>pip3 install --index-url https://pypi.douban.com/simple wordcloudLooking in indexes: https...
2020-03-17 14:58:33
2739
转载 python编码问题
Python编码问题 最早的字符串编码是ASCII编码,它仅仅对10个数字、26个大小写英文字母以及一些特殊字符进行了编码,ASCII最多表示256个字符,每个字符只需要占用1个字节。 随着信息技术的发展,各国的文字都需要进行编码,于是相继出现了GBK、GB2312、UTF-8编码等,其中GBK和GB2312是我国制定的中文编码标准,规定英文字符占一个字节,中文字符占2个字节;而U...
2020-03-16 15:26:09
287
原创 解决Port Binding Error:IDLE can't bind to a TCP/IP port, which is necessary to communicate
Python 报错:Port Binding Error:IDLE can’t bind to a TCP/IP port, which is necessary to communicate with its Python execution server. This might be because no networking is installed on this computer. ...
2020-03-01 11:04:57
3198
5
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人