On Aug 19, 1:02 am, Goksie Aruna <[EMAIL PROTECTED]> wrote: > dear all, > > i have arrays of number of size lets say 4000 i.e. 201000..2013999 > > now i want to do the following. > > first print all the numbers to a colorful console. be it wx, tk, or web > based. > > then pick a winning number from the range which will now be printed at > the center of the page. > > how can i achieve this? > > goksie
I would recommend learning wx, tk, pyGTK, or HTML/CSS. If you go with wxPython, there are many pre-built widgets that can display colored text, including HTML. Some of them use Scintilla. I would look especially at wx.RichTextCtrl, wx.StyledTextCtrl, FancyText or wx.HtmlWindow. There's a demo you can download to check these out here: http://wxpython.org/download.php Mike -- http://mail.python.org/mailman/listinfo/python-list