You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
282 B
19 lines
282 B
15 years ago
|
from __future__ import print_function
|
||
|
import sys
|
||
|
import curses
|
||
|
|
||
|
|
||
|
def hello_world(stdscr):
|
||
|
stdscr.addstr(0, 0, "Hello World !!!")
|
||
|
stdscr.refresh()
|
||
|
stdscr.getch()
|
||
|
|
||
|
|
||
|
def main():
|
||
|
curses.wrapper(hello_world)
|
||
|
return 0
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
sys.exit(main())
|