From 3c326eeedb87861b8b582395f8a2bdafd0f9aead Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Fri, 26 Feb 2010 00:40:26 +0000 Subject: new python example --- (limited to 'tamyblock.py') diff --git a/tamyblock.py b/tamyblock.py index 639c8c5..2d0b0e7 100644 --- a/tamyblock.py +++ b/tamyblock.py @@ -27,7 +27,16 @@ # the proper indentations. # -def myblock(lc,x): +def myblock(lc, x): + + ########################################################################### + # + # Set rgb color + # + ########################################################################### + + # lc.tw.fgcolor = lc.tw.cm.alloc_color(x[0],x[1],x[2]) + # return ########################################################################### # @@ -53,7 +62,6 @@ def myblock(lc,x): lc.tw.canvas.setpen(pen) # restore pen state - ########################################################################### # # Push an uppercase version of a string onto the heap. -- cgit v0.9.1