curses and python (linux, debian)

Guido no.email at please.invalid
Tue May 4 13:22:35 EDT 2004


Michael Hudson wrote:

> Guido <no.email at please.invalid> writes:
> 
> 
>>Hello
>>
>>I'm new to python and i'm trying to write a script that shows a menu.
>>
>>Now, I have some troubles with curses.setsyx()
>>
>>I do:
>>
>>import curses
>>
>>curses.setsyx(2, 20)
>>curses.putp("TEST TITLE")
>>curses.setsyx(25, 35)
>>curses.putp("TEST CENTER")
>>curses.setsyx(12, 35)
>>curses.putp("TEST CENTER")
>>
>>but it just prints all the string after each other at the first
>>lines..
>>
>>can anybody help me please?
> 
> 
> Don't you call initscr() first?
> 
> Cheers,
> mwh
> 

i did, but i forget to copy it



More information about the Python-list mailing list