Problems with Piddle plotting package, Help.

Louis M. Pecora pecora at
Wed Sep 20 21:42:49 CEST 2000

In article <200920000658138096%pecora at>, Louis M.
Pecora <pecora at> wrote:

To all:

Thanks to help on the piddle e-group I found that changing line 252 in as below enables the drawstring and all other tests to work
fine in Python 1.5.2c1 on the Mac.

Change line 252 from:

font._QDfontID = fontID


font.__dict__['_QDfontID'] = fontID

This has something to do with dictionaries being immutable, but I
haven't fully grokked it, yet.  Anyone know.  It fixes the problems and
piddle plotting works like a charm so far.

P.S.  If you run , you must run it in the IDE to use the
Quickdraw backend (easy to do, though).  After opening the file in the
IDE, go up to the arrow on the upper right of the window and choose
"Run as Main".  Then run it.  Works fine.

More information about the Python-list mailing list