Solved

Python and ncurses on Linux?

Posted on 2004-09-03
3
932 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Strings in Python are the set of characters that, once defined, cannot be changed by any other method like replace. Even if we use the replace method it still does not modify the original string that we use, but just copies the string and then modif…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
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 …
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

691 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