mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
self.__chips now contains the list of rgbtuple values for the
chips named i - 1 (Tkinter counts from 1, we count from zero).
The chip number was just the index + 1. This means color lookup
need not do an itemcget(), it can just index into __chips.
instead of calling __canvas.itemconfigure(), we glom up a huge Tcl
script and call tk.eval() directly. Actually we do many appends
to a Python list, then string.join() them together into one huge
string. This reduces the overhead of Tkinter but making one fast
call to Tcl.
|
||
|---|---|---|
| .. | ||
| bgen | ||
| faqwiz | ||
| freeze | ||
| modulator | ||
| pynche | ||
| scripts | ||
| versioncheck | ||
| webchecker | ||
| world | ||
| README | ||
This directory contains a number of Python programs that are useful while building or extending Python. bgen Generate complete extension modules from a description. Still under development! faqwiz FAQ Wizard. See http://grail.cnri.reston.va.us/cgi-bin/faqw.py for a live example. freeze Create a stand-alone executable from a Python program. modulator Interactively generate boiler plate for an extension module. Works easiest if you have Tk. scripts A number of useful single-file programs, e.g. for converting old Python sources to the current language definition. versioncheck A tool to automate checking whether you have the latest version of a package (by Jack Jansen). webchecker A link checker for web sites.