Solved

Python and ncurses on Linux?

Posted on 2004-09-03
3
906 Views
Last Modified: 2008-02-26
Hello All,
I'm a newbie to Python programming.In my project, we were planning to develop a system configuration/install  tool in Linux to install some open source components as a stack together.We decided we will go about using Python since it is in good object oriented language with packages to get system information details too.We are planning to run this application on RH and SUSE Linux platforms.

We thought ncurses would be a good choice to develop windows/dialogs and looked for ncurses packages in Python and found http://sourceforge.net/projects/pyncurses/ link.But it seems it is no longer active and uses older version of Python(probably 1.5 or so).

Now we are little bit struck and don't know how to go forward.Whether to develop the application in plain "C" with ncurses (using Curses Development Kit) or look for any other alternative for ncurses in Python?

If somebody in this forum suggest some good alternatives or pointers on the same, it would be really helpful.

Thanks & Regards,
Karthik
0
Comment
Question by:karthikd22
3 Comments
 
LVL 9

Accepted Solution

by:
rjkimble earned 125 total points
ID: 11976631
Does the curses module that ships with Python provide the capabilities you need? Check out:

http://docs.python.org/lib/module-curses.html

I think it actually uses ncurses in its implementation. There is a short tutorial on its use at:

http://www.amk.ca/python/howto/curses/curses.html
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to find when a spy software executing? 4 72
Visualizing tuple values in Python (or generally) 3 65
Python tuples 2 115
Error catching in Python 8 48
Less strange, but still introduction This introduction was added (1st August, 2011) to reflect some reactions.  Firstly, the term basics in the title of the article...  As any other word, it is a symbol with meaning attached to the word by some a…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now