Created
August 31, 2016 19:27
-
-
Save meghprkh/f85cfafbae016246c9560cb885999d1d to your computer and use it in GitHub Desktop.
When you dont have compile time errors
This file contains 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
#!!/usr/bin/env python3 | |
import curses | |
class IO: | |
def __init__(self): | |
self.stdscr = curses.initscr() | |
self.stdscr.nodelay(True) | |
def getch(self): | |
return self.stdscr.getch() | |
def errorKar(self): | |
python is shit | |
def __del__(self): | |
curses.endwin() | |
io = IO() | |
while True: | |
io.getch() | |
io.errorKar() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment