Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Python and ncurses on Linux?

Posted on 2004-09-03
3
Medium Priority
?
958 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
1 Comment
 
LVL 9

Accepted Solution

by:
rjkimble earned 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Installing Python 2.7.3 version on Windows operating system For installing Python first we need to download Python's latest version from URL" www.python.org " You can also get information on Python scripting language from the above mentioned we…
A set of related code is known to be a Module, it helps us to organize our code logically which is much easier for us to understand and use it. Module is an object with arbitrarily named attributes which can be used in binding and referencing. …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
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…

782 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