【发布时间】:2015-11-22 14:43:05
【问题描述】:
使用 Mac,我试图将程序的背景设置为我下载的图像,我将图像命名为“ChristmasBackground.jpg”并将其保存到我的文档中。使用 Zelle 图形,这是我写的:
XmasBack = Image(Point(600,100),"ChristmasBackground.jpg")
XmasBack.draw(win)
但程序给我一个错误提示:
couldn't open "ChristmasBackground.jpg": no such file or directory
【问题讨论】:
标签: python image error-handling zelle-graphics