displaying my randomly selected numbers in a colorful interface.

Mike Driscoll kyosohma at gmail.com
Tue Aug 19 15:21:18 EDT 2008


On Aug 19, 1:02 am, Goksie Aruna <pykl... at gmail.com> 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



More information about the Python-list mailing list