Skip to Main Content
Programming in Python 3: A Complete Introduction to the Python Language, Second Edition
book

Programming in Python 3: A Complete Introduction to the Python Language, Second Edition

by Mark Summerfield
November 2009
Intermediate to advanced content levelIntermediate to advanced
648 pages
18h 41m
English
Addison-Wesley Professional
Content preview from Programming in Python 3: A Complete Introduction to the Python Language, Second Edition

15. 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. Tk has ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming in Python 3: A Complete Introduction to the Python Language

Programming in Python 3: A Complete Introduction to the Python Language

Mark Summerfield

Publisher Resources

ISBN: 9780321699909Purchase book