我不知道如何从桌面加载图像这是我的代码:
imgXBM = BitmapImage(file="./img/pylogo.xbm")
labelXBM = Label(monCadre, text="image XBM : 1 bit/pixel", font=maFonte,
bg="#b0b0ff")
labelImgXBM = Label(monCadre, image = imgXBM,font=maFonte, bg="#b0b0ff")'
在这样的尝试中,它向我显示:_tkinter.TclError: couldn't read bitmap file
目前没有回答
相关问题 更多 >
编程相关推荐