al pacino wrote: > is it possible to address the 'screen pixels' using python , like > analogous to older dos( functions that graphics.h provides') or win api > calls for gdi. > > what i want is to display clusters (in differetn colours) on screen > using python.
Almost any (or just "any") GUI toolkit can do that. Check out wxPython, Tkinter, PyQT, Pygame, etc. For example, in the wxPython demo (two easy downloads to install and run on a Windows box), the Miscellaneous->DrawXXXList demo page shows how to draw sets of points, lines, rectangles, etc, directly to the display via a DeviceContext object. -Peter -- http://mail.python.org/mailman/listinfo/python-list