[NEWBIE] Curses question

Oldayz sill at localhost.kitenet.net
Sat Jul 8 14:12:41 EDT 2000


Hello,

I've read curses howto at python.org and tried to make a simple script to see 
if I understood how it works. Unfortunately, it doesn't do anything - it starts
and immediately exits without producing any output or errors. Can someone 
please point out what I'm doing wrong. Here's the code:


#!/usr/bin/env python

import curses

stdscr = curses.initscr()
stdscr.addstr(1, 1, 'Test.')

I also tried adding a window with curses.newwin and writing something there, 
but it gives no output either.
-- 
	- Andrei



More information about the Python-list mailing list