A more elegant way to flush print buffer?

Chuck Swiger cswiger at mac.com
Tue May 27 15:50:35 EDT 2003


Yu Wang wrote:
> Chuck Swiger wrote:
[ ... ]
> errors like this:
> File "/usr/local/python/lib/python2.2/curses/wrapper.py", line 44, in 
> wrapper
>     res = apply(func, (stdscr,) + rest)
> TypeError: 'str' object is not callable

Yes, this is the same problem I referred to.

The C implementation of the curses library provides the mvaddch() 
routine, but I'm not sure how to access it from the Python curses module.

-Chuck







More information about the Python-list mailing list