PDA

View Full Version : Very simple python question.



Tek-E
December 17th, 2009, 09:06 AM
I am almost embarrassed to ask this question....

Does anybody know where I can download the curses module for python?

I tried the python website yet all I found were 3rd party modules.
I tried google too. No luck.

I am 100% sure my problem exists somewhere between my chair and my keyboard.

And help??
Thank you.

:confused:

casevh
December 17th, 2009, 09:46 AM
It should be included with the standard Python interpreter.

Python 2.6.4 (r264:75706, Nov 2 2009, 14:44:17)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
>>>

If you compiled your own version of Python, you need to install the curses development libraries before you compile it.

HTH,

casevh