Re: Curses Programming

2010-11-10 Thread r0g
On 10/11/10 14:42, alexander wrote: Hi, all Here is the test. Plz help. / ***/ If you use the new image search of Google, you will

Re: Curses Programming

2010-11-10 Thread James Mills
On Thu, Nov 11, 2010 at 12:42 AM, alexander wrote: > Could any give a hand? Assignment ? Homework ? cheers James -- -- James Mills -- -- "Problems are solved by method" -- http://mail.python.org/mailman/listinfo/python-list

Re: Curses Programming

2010-11-10 Thread Chris Rebert
On Wed, Nov 10, 2010 at 6:42 AM, alexander wrote: > Subject: Curses Programming This has nothing whatsoever to do with the (n)curses library or even console programming. Lying in your subject line does not help gain you goodwill. > Hi, all > >     Here is the test. Plz help. If you want ho

Re: Curses programming, threads?

2004-12-06 Thread Bartlomiej Rymarski
Carl Banks <[EMAIL PROTECTED]> wrote: > (...) > But I recommend threads for this. It's one of the easiest possible > uses of threads. There's no complex communication involved; locks and > semaphores and stuff aren't required. Just connect to the database in > a subthread, and have it set a glo

Re: Curses programming, threads?

2004-12-06 Thread Bartlomiej Rymarski
Michele Simionato <[EMAIL PROTECTED]> wrote: > You don't need curses. Some time ago somebody (I forgot the name) > posted this spinner class: > > class Spinner( threading.Thread ): # a google search should find the author > [...] Great, thanks a lot. -- Bartek Rymarski <[EMAIL PROTECTED]> $ %bl

Re: Curses programming, threads?

2004-12-03 Thread Carl Banks
Bartlomiej Rymarski <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Hello, > > I'm writing this little program, and I've came across a function > that I need to call. Since the execution of the function takes a > real long time I want to put a timer, or an animated 'loading'

Re: Curses programming, threads?

2004-12-03 Thread Michele Simionato
Bartlomiej Rymarski <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Bartlomiej Rymarski <[EMAIL PROTECTED]> wrote: > > [...] > > And the loader() function would run in a loop until connect_db() is > > is finished. Is that possible in python? Or are there any other, > > better w

Re: Curses programming, threads?

2004-12-03 Thread Bartlomiej Rymarski
Bartlomiej Rymarski <[EMAIL PROTECTED]> wrote: > [...] > And the loader() function would run in a loop until connect_db() is > is finished. Is that possible in python? Or are there any other, > better ways to do it? > [...] Oh, I forgot - I'm using Linux, and curses module in Python 2.3. -- Bar