Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Messed Up My Python..., Curses!
Joshua
post Nov 17 2005, 09:29 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 17-November 05
Member No.: 5,752



Yesterday, I discovered curses for Python!(!!!)

I was really excited and right away got to programming. Unfortunately, I went to execute some code, and got this:

CODE
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "/home/joshua_school/curses.py", line 4, in ?
   stdscr = curses.initscr()
AttributeError: 'module' object has no attribute 'initscr'


huh.gif The same exact thing was working earlier, what happened?!

I did some searching around, and learned that the curses session wasn't properly closed. However, I couldn't find a solution. dry.gif

I'd really like to spiff up my Python programs...anyone know how to get curses working again?

--Joshua


--------------------
--Joshua
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 12th December 2017 - 06:55 PM