Messed up Python Curses
I recently discovered that there was a curses library for Python :D
Overjoyed, I immediately set to programming. Unfortunately, I tried to execute a simple command and got the following: >>>import curses >>>curses.initscr() Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'module' object has no attribute 'initscr' >>> Eh? :confused: The same command worked just moments ago...what happened? I did some internet searching, and I believe the problem is occuring because I didn't properly end a curses session with curses.endwin(). I tired that command too, but got a similar error as above. Unfortunately, I couldn't find a solution to the problem :mad: Any help you be greatly appreciated. |
I think you can simply logout and log back in, or switch to a different terminal session. (And correct your code, too)
Quote:
|
Quote:
lol...that evil program has been deleted ;) |
All times are GMT -5. The time now is 04:16 PM. |