Solved

Python and ncurses on Linux?

Posted on 2004-09-03
3
910 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Parse csv file and generate graphs in HTML in bash 8 180
bitwise OR python 2.7 4 47
linux date/time setting via python 6 60
How to use pyenv 4 36
Sequence is something that used to store data in it in very simple words. Let us just create a list first. To create a list first of all we need to give a name to our list which I have taken as “COURSE” followed by equals sign and finally enclosed …
Article by: Swadhin
Introduction of Lists in Python: There are six built-in types of sequences. Lists and tuples are the most common one. In this article we will see how to use Lists in python and how we can utilize it while doing our own program. In general we can al…
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 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 …

813 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

12 Experts available now in Live!

Get 1:1 Help Now