
python
xbhiwcboec
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【gRPC & Python】运行gRPC文件时报grpc._channel._InactiveRpcError
【gRPC & Python】运行gRPC文件时报grpc._channel._InactiveRpcError。原创 2022-11-13 18:23:47 · 2527 阅读 · 1 评论 -
【Python】PyQt5中Qt designer.exe的路径
问题描述:Pyqt5中Qt designer.exe的路径找不到解决方案:方法一:【python环境路径】\Lib\site-packages\pyqt5_tools\designer.exe方法二:【python环境路径】\Lib\site-packages\qt5_applications\Qt\bin\designer.exe原创 2022-05-20 09:04:06 · 1623 阅读 · 0 评论 -
【Python】 GUI之Tkinter 报错AttributeError: ‘Label‘ object has no attribute ‘remove‘
问题描述:在PyCharm中,使用Python Tkinter写了图形界面,当我想对Label属性的控件进行remove操作时,报错AttributeError: ‘Label’ object has no attribute 'remove’解决方案:一开始报错的代码段是def fx(): global label label.grid_remove() label = Label(root, text='abc') label.grid(row=1, column=1)lab原创 2021-12-06 19:15:44 · 2493 阅读 · 0 评论 -
【Python】AttributeError: ‘PixelAccess‘ object has no attribute ‘size‘
AttributeError: ‘PixelAccess’ object has no attribute ‘size’下列代码报错:AttributeError: ‘PixelAccess’ object has no attribute ‘size’from PIL import Imagesrc=Image.open('xxx.jpg')src_rgba=src.convert('RGBA')src_pixel=src_rgba.load()print(src_pixel.size)修原创 2021-01-02 14:19:13 · 1278 阅读 · 0 评论