I'm guessing you didn't find the wxPython demo application - it's at
http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-docs-demos-2.8.7.1.exe
on the download page
http://wxpython.org/download.php
It's a must-have when learning wxPython.
HTH, Phil
···
At 01:23 PM 3/2/2008, you wrote:
On Sun, Mar 02, 2008 at 05:03:57AM -0500, C M wrote:
> On Sun, Mar 2, 2008 at 4:28 AM, Gary Kline <kline@thought.org> wrote:
>
> >
> > Hello All,
> >
> > Python is the most exciting language I've come across
> > in years. Most "throw-away" stuff I write these days is
> > for the CLI; but I've decided to write an app that requires
> > a screen/widget [ say] 200 x 500 pixels. I need some help
> > getting going. I want to read from a text file and print
> > the strings across the widget. Scrolling the words would
> > work; so would flashing them several at a time.
> >
> > I've searched for something to build on, but not with too much
> > success, so any help: pointers, URL's, or feedback would be
> > much appreciated.
> >
> > thanks,
> >
> > gary kline
> >
> > --
> > Gary Kline kline@thought.org www.thought.org Public Service Unix
> > http://jottings.thought.org http://transfinite.thought.org
> >
> Have you seen the ticker in the demo? Sounds like that might do it for
> scrolling text. It uses a textCtrl. You can just read a text file in the
> normal Python way, and set what text you want as the value of the textCtrl,
> and use that textCtrl in the ticker.I think I saw that, "textCtrl," but nothing about ticker.
I'm not clear on how to use the wxPython pages, so yes, I
may be jumping the gun here. I typed "text" into the search
area; then "file", then "file, read".When I did come up with some python/X11 examples, everything
was understandable. [[ I have used the Athena tooklkit stuff. ]]
There was no way to download the example code other than in
HTML. Or else mouse copy and save to an xterm. If there are
easier ways of doing this, I'd be grateful for any tips.I'll look again for ``text, demo, and ticker''
gary