Hi,
  I’m coding a game for fun and i keep trying to run it but this keeps showing 
up:
traceback (most recent call last):
  File "/Volumes/name/box move thing(wed).py", line 13, in <module>
    player_img = PhotoImage(file="astronaut.png")
  File 
"/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/tkinter/__init__.py",
 line 3394, in __init__
    Image.__init__(self, 'photo', name, cnf, master, **kw)
  File 
"/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/tkinter/__init__.py",
 line 3350, in __init__
    self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: couldn't open "astronaut.png": no such file or directory

Even though I have a file named “astronaut.png” I’ve tried a lot of things if I 
could be helped that would be awesome.


                               Thanks,
                   Anonymous
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to