随笔分类 - python系统学习笔记
摘要:from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC fro...
阅读全文
摘要:from PIL import Image import sys img=Image.open("A8.jpg") width=img.size[0] height=img.size[1] print (width,height)
阅读全文
摘要:def jwkj_get_filePath_fileName_fileExt(filename): (filepath,tempfilename) = os.path.split(filename); (shotname,extension) = os.path.splitext(tempfilename); return filepath,shotname,extension p...
阅读全文
摘要:我们有的时候使用Selenium会希望能够限制图片和Javascript执行,从而提高网页加载速度。 参考网址:https://blog.csdn.net/karwik/article/details/78573917
阅读全文
摘要:打开这个网址https://blog.csdn.net/chaowanghn/article/details/54889835 python在open读取txt文件时,出现UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in posi
阅读全文
摘要:第一步:安装qt5 pip install pyqt5==5.10.1 -i https://pypi.doubanio.com/simple pip install pyqt5-tools -i https://pypi.doubanio.com/simple 汉化QT:pip install p
阅读全文
摘要:python读取CSV文件 python中有一个读写csv文件的包,直接import csv即可。利用这个python包可以很方便对csv文件进行操作,一些简单的用法如下。 1. 读文件 csv_reader = csv.reader(open('data.file', encoding='utf-
阅读全文

浙公网安备 33010602011771号