placing text at point on console

Irmen de Jong irmen at
Tue Jul 1 22:47:25 CEST 2003

bart wrote:

> I'm trying to place text at a certain point on the console. But I can't 
> figure out any way to do this. For instance place a '@' at point 6,8. 
> Any hints?
> (I'm trying to display a 'map'. Think nethack)

You didn't say which system you use. This is important information
because what you want to do is not system independent.

For Unixes/Linux, try the curses module:

  import curses

For Windows, try the (non-standard) WConIO module:

  import WConio


More information about the Python-list mailing list