fugounashi <[email protected]> added the comment:
thanks for looking into it
this should do it:
#! /usr/bin/python
import locale
locale.setlocale(locale.LC_ALL, '')
code = locale.getpreferredencoding()
import curses
def main(stdscr):
stdscr.erase()
stdscr.move(0, 0)
for i in range(0,stdscr.getmaxyx()[1] - 1):
stdscr.addstr(".");
stdscr.addstr(u"\u3007\u3007".encode(code));
stdscr.refresh()
curses.wrapper(main)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6733>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com