Skip to Main Content
Python GUI Programming Cookbook
book

Python GUI Programming Cookbook

by Burkhard Meier
December 2015
Beginner to intermediate content levelBeginner to intermediate
350 pages
6h 49m
English
Packt Publishing
Content preview from Python GUI Programming Cookbook

PyOpenGL transforms our GUI

In this recipe, we will successfully create a Python GUI that imports PyOpenGL modules and does actually work!

In order to do so, we need to overcome some initial challenges.

This recipe will show one proven way that does work. If you experiment on your own and get stuck, remember the famous words from Thomas A. Edison.

Note

Thomas Edison, inventor of the light bulb, answered a question from a reporter who talked about Edison's failures. Edison replied:

"I have not failed. I've just found 10,000 ways that won't work."

First, we have to install the PyOpenGL extension module.

After successfully installing the PyOpenGL modules that match our OS architecture, we will create some example code.

Getting ready

We will install the ...

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

Python GUI Programming - A Complete Reference Guide

Python GUI Programming - A Complete Reference Guide

Alan D. Moore, B. M. Harwani
Python Network Programming Cookbook - Second Edition

Python Network Programming Cookbook - Second Edition

Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker

Publisher Resources

ISBN: 9781785283758Supplemental Content