![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
从来如此便对么
这个作者很懒,什么都没留下…
展开
-
python读取excel数据
读取excel可以适用xlrd库pip install xlrdimport xlrd# book = xlrd.open_workbook('1.xlsx')book = xlrd.open_workbook('F:\2.xls')sheet1 = book.sheet_by_index(0)sheet2 = book.sheet_by_name('Sheet2')print(f'表单名:{sheet1.name}')print(f'表单索引:{sheet1.number}')原创 2020-10-24 22:32:02 · 201 阅读 · 0 评论 -
PySide2导入报错
python(3.8.4)安装了pyside2(5.15.0)后运行测试案例却报错:D:\Python\Python38\python.exe E:/save/python/pyside2/demo/qt_test.pyTraceback (most recent call last): File "E:/save/python/pyside2/demo/qt_test.py", line 2, in <module> from PySide2.QtWidgets import...原创 2020-09-05 21:30:50 · 2833 阅读 · 2 评论