July 21st, 2004, 01:19 AM
im kinda new but... what is the code to just put an image into
the program? Or does anyone know of a tutorial there is.
July 21st, 2004, 10:43 AM
Put it where?
Originally Posted by evilbeefcake
July 21st, 2004, 04:09 PM
to put an image into a small program in idle. Is there a way to do it?
So there would be text then an
image would just pop up on the next line
--------image goes here---------
July 21st, 2004, 10:35 PM
to use any graphical elements (like images, buttons, etc) you need to use a GUI package like Tkinter or wxWindows. Tkinter is the standard that is distributed with Python, so you can play with that without having to dl/install any third party software. check http://docs.python.org/lib/module-Tkinter.html for the documentation. There's also a link to a text by Fredrik Lundh called "An Introduction to Tkinter" which is a good resource.
July 22nd, 2004, 04:04 AM
It sounds to me like you need the Tkinter Canvas widget.
You should be able to create a window that mixes text a images with that.