Created
December 21, 2011 22:43
-
-
Save Artanis/1508051 to your computer and use it in GitHub Desktop.
curses addstr bytestr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# System Modules | |
import curses | |
import time | |
# External Modules | |
# Local Modules | |
def test(stdscr): | |
stdscr.addstr(b'Hello Curses!') | |
stdscr.refresh() | |
time.sleep(2) | |
def main(): | |
curses.wrapper(test) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment