影子在啊 发表于 2022-4-12 14:29:26

Python 小白

Python 板块的easygui 是咋插入图片的啊?

python爱好者. 发表于 2022-4-12 14:32:52

不能吧,easygui 只支持一些基础功能,到了 Tkinter 中才能实现......

ba21 发表于 2022-4-12 14:41:08

http://1118pc.com/show_pdetails.asp?id=503

影子在啊 发表于 2022-4-12 14:41:10

python爱好者. 发表于 2022-4-12 14:32
不能吧,easygui 只支持一些基础功能,到了 Tkinter 中才能实现......

EasyGUI 学习文档【超详细中文版】 https://fishc.com.cn/thread-46069-1-1.html (出处: 鱼C论坛)这个第9个就有啊

影子在啊 发表于 2022-4-12 15:03:04

ba21 发表于 2022-4-12 14:41
http://1118pc.com/show_pdetails.asp?id=503

看的就是这个啊 只是不明白呢个图片怎么来
buttonbox('大家说我长得帅吗?', image='turtle.gif', choices=('帅', '不帅', '!@#$%'))这是原代码里的

ba21 发表于 2022-4-12 15:37:10

影子在啊 发表于 2022-4-12 15:03
看的就是这个啊 只是不明白呢个图片怎么来
buttonbox('大家说我长得帅吗?', image='turtle.gif', choic ...

图片还能天是掉?
图片肯定是自己准备的,网上大把的图片,随便找张不就是了。非得一样的?
你这么大的头像就是个图片不能利用下?

python爱好者. 发表于 2022-4-12 15:51:42

ba21 发表于 2022-4-12 14:41
http://1118pc.com/show_pdetails.asp?id=503

最近学 Tkinter ,竟然把这都忘了

影子在啊 发表于 2022-4-12 16:10:05

ba21 发表于 2022-4-12 15:37
图片还能天是掉?
图片肯定是自己准备的,网上大把的图片,随便找张不就是了。非得一样的?
你这么大的 ...

你什么态度 ?不想回答我让你回答了吗 ?我就是找了图片打印不出来才问的。

Victor0321 发表于 2022-4-17 02:06:52

pip install Pillow -i https://mirrors.aliyun.com/pypi/simple

Victor0321 发表于 2022-4-17 02:33:01

Victor0321 发表于 2022-4-17 02:06
pip install Pillow -i https://mirrors.aliyun.com/pypi/simple

在cmd运行这个pip install Pillow -i https://mirrors.aliyun.com/pypi/simple
页: [1]
查看完整版本: Python 小白