小编Isa*_*lpe的帖子

Windows Python 3.6.4:找不到 IDLE

我刚刚安装了最新版本的 python (3.6.4),并且刚刚从 python 3.6.2 升级,但现在我找不到 IDLE。请帮助我确实需要完成我的工作。

python python-3.x

1
推荐指数
1
解决办法
9013
查看次数

tkinter.TclError: couldn't recognize data in image file

I'm currently in the middle of a recorded Python lecture and I think the version of python the teacher is using is outdated and he is writing a tkinter program but after copying it I keep getting this error:

Traceback (most recent call last):
  File "C:\Users\1234\AppData\Local\Programs\Python\Python36-32\Lecture Class 11.py", line 35, in <module>
    photo = PhotoImage(file="Me With My 5th Place.jpg")
  File "C:\Users\1234\AppData\Local\Programs\Python\Python36-32\lib\tkinter\__init__.py", line 3539, in __init__
    Image.__init__(self, 'photo', name, cnf, master, **kw)
  File "C:\Users\1234\AppData\Local\Programs\Python\Python36-32\lib\tkinter\__init__.py", line 3495, in __init__
    self.tk.call(('image', 'create', imgtype, …
Run Code Online (Sandbox Code Playgroud)

python tkinter

0
推荐指数
2
解决办法
3444
查看次数

标签 统计

python ×2

python-3.x ×1

tkinter ×1