O'Reilly logo

Programming in Python 3: A Complete Introduction to the Python Language by Mark Summerfield

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Introduction to GUI Programming

Python has no native support for GUI (Graphical User Interface) programming, but this isn’t a problem since many GUI libraries written in other languages can be used by Python programmers. This is possible because many GUI libraries have Python wrappers or bindings—these are packages and modules that are imported and used like any other Python packages and modules but which access functionality that is in non-Python libraries under the hood.

Python’s standard library includes Tcl/Tk—Tcl is an almost syntax-free scripting language and Tk is a GUI library written in Tcl and C. Python’s tkinter module provides Python bindings for the Tk GUI library. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required