|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
images
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. |
|
#2
|
|||
|
|||
|
Quote:
Put it where? |
|
#3
|
|||
|
|||
|
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--------- |
|
#4
|
|||
|
|||
|
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.
|
|
#5
|
||||
|
||||
|
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. grim ![]()
__________________
*** Experimental Python Markup CGI V2 *** |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > images |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|