ChatCrawlersearch across public Telegram Open the app
P

Python 中文交流群

22 936 members
21 May 2026
P
有没有群友遇到过openpyxl读取Excel图片会报 ValueError: I/O operation on closed file.
22 May 2026
P
现在怀疑是内部 img = PIL.Image(BytesIO(...)) img被回收 可能调用了img.close() 导致里面的BytesIO流被关了 就想看看有没有群友有更好方案🤣
Фотография
click to show
让我初始化openpyxl的Image后 重新做一个Bytes IO赋值给ref
P
然而。。。还是有几率报错
W
那是不是需要去提交bugs 了
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog