1. Home
  2. Computing & Technology
  3. Python

"Hello, World!" in Python With Tkinter

From , former About.com Guide

1 of 10

A Word on Tkinter and GUI Toolkits

Tkinter is a graphic user interface (GUI) toolkit that comes with Python by default. Like wxPython, Tkinter is as cross-platform as Python.

Graphical User Interfaces (GUIs) rely heavily on object-oriented programming. Tkinter is no different. You first instantiate an object and then work with that object's attributes and methods. In this guide, we will complement our guide on wxPython and look at the rudiments of a very simple program that prints "Hello, World!" to a window on your desktop. Tkinter is not as clean as wxPython, so there will be a bit more code to this guide.

Explore Python
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Python
  4. Advanced Python
  5. Python Graphic Interface - Tkinter - Programming Tkinter - Python GUI Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.