Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

websafe: Display web-safe color swatches

Tech Computer Center logo

The websafe.py script is a small program that displays all the ``web-safe'' colors---a set of 216 colors that should all display well on most older browsers.

It is a good starter example for Tkinter because it has only two widgets: a canvas, where the colors and their labels are displayed, and a ``Quit'' button at the bottom.


Next: pickfont: An X font-picking tool in Python
See also: Tkinter: GUI programming with Python
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman, john@nmt.edu
Last updated: 2004/03/07 01:43:52 UT
URL: http://www.nmt.edu/tcc/help/lang/python/websafe.html
QR two-dimensional bar code