Solved

Python and ncurses on Linux?

Posted on 2004-09-03
3
896 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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Variable is a place holder or reserved memory locations to store any value. Which means whenever we create a variable, indirectly we are reserving some space in the memory. The interpreter assigns or allocates some space in the memory based on the d…
Here I am using Python IDLE(GUI) to write a simple program and save it, so that we can just execute it in future. Because when we write any program and exit from Python then program that we have written will be lost. So for not losing our program we…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
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…

762 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

7 Experts available now in Live!

Get 1:1 Help Now