next up previous contents index 6264666870
Next: 3.1 Starten des ersten Up: Programming Python Teil II: Previous: 2. Was ist Tkinter   Contents   Index

3. »Hallo, Tkinter«: Das erste Programm

Rufen Sie den Editor von IDLE auf und geben Sie in das Editorfenster den Programmtext

# File: hello1.py 

from Tkinter import * 

root=Tk() 

w=Label(root, text='Hallo, Tkinter!')

w.pack() 
 
root.mainloop()



Subsections

Heiko Schroeder 2003-03-23