473,783 Members | 2,286 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[Q] Pyython and curses/ncurses/snack/tinter/...

Hi

I want to write a little application for the shell with a
userinterface that is not line based. Think of the UI of mc for
example. And I want to use Python on different Operating Systems.
So it should be portable.

Now what would you prefer as UI-library? I'm searching for a
highlevel library with buttons, text boxes, dialog boxes,
progress bars, ...

I have heard of:
- curses, ncurses ... low-level
- snack ... wrapper for newt and slang
- tinter

Do you know of any other good library that is widely available?

I have seen a lot of examples for curses and ncurses but not for
the others.

Snack seems to be only available for Linux and not well documented?!?

thanks for any help!

Chris Burkert

Jul 18 '05 #1
1 2380
Chris Burkert <ch***@chrisbur kert.de> pisze:
Now what would you prefer as UI-library? I'm searching for a
highlevel library with buttons, text boxes, dialog boxes,
progress bars, ...

I have heard of:
- curses, ncurses ... low-level
- snack ... wrapper for newt and slang
- tinter

Do you know of any other good library that is widely available?

I have seen a lot of examples for curses and ncurses but not for
the others.

Snack seems to be only available for Linux and not well documented?!?


Snack should compile on any platform where SLang runs -- except Windows,
of course. If you mean "Windows, Linux, MacOS, MacOSX, OS/2 and any
other system where Python runs", there is no such library. In fact, if
you mean "Windows and Linux", there's nothing here also.

Text-mode interfaces are rather rare animals now.

--
Jarek Zgoda
Unregistered Linux User #-1
http://www.zgoda.biz/ JID:zgoda-a-chrome.pl http://zgoda.jogger.pl/
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1141
by: Magnus Lie Hetland | last post by:
I'm playing around with curses, and have had some problems with that... For example, I can't make colours work in Python, although several other curses-based programs use colours on my box. (ncurses, I suppose -- and some maybe slang?) Does Python use ncurses now -- or? But the colours aren't that important. More important is my inability to get latin 1 characters to work in Textpad objects. (I can't get the page up/down and backspace...
1
412
by: Cecil H. Whitley | last post by:
Hi, I had done a quick read of the curses documentation for python. Upon the second reading I found that curses is not supported on windows. I was wondering if it would be relatively simple to use the python wrapper for curses on unix (is there such a beast?) to wrap ncurses or the like on windows? Optionally, are there any major obstacles to writing a python wrapper for ncurses or any other curses-like library for windows? Thanks,...
3
2808
by: harold fellermann | last post by:
Hi all, I want to use curses in a server application that provides a GUI for telnet clients. Therefore, I need the functionality to open and handle several screens. Concerning http://dickey.his.com/ncurses/ncurses-intro.html#init this can be done using the function newterm(type,ofp,ifp). However, this function seems not to be defined in the python library. Does anyone know how this can be done in python?
9
8265
by: Sinan Nalkaya | last post by:
hi, i want to use ncurses library in python i`ve found proper library for that, PyNcurses. then i searched for some documentation about ncurses programming, i only found that web site ; http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/ this howto is nice but seems to me, this is for experienced ncurses programmers who have just migrated to python so i dont understand anything from examples and howto. what should i do ? firstly should i...
30
6117
by: Ian Ward | last post by:
When I run the following code in a terminal with the encoding set to UTF-8 I get garbage on the first line, but the correct output on the second. import curses s = curses.initscr() s.addstr('\xc3\x85 U+00C5 LATIN CAPITAL LETTER A WITH RING ABOVE\n') s.addstr('\xc3\xa5 U+00F5 LATIN SMALL LETTER O WITH TILDE') s.refresh() s.getstr()
48
4566
by: Daniele C. | last post by:
As soon as my sourceforge.net project gets approved, I am going to build a ncurses port to win32 bindable to sockets, e.g. allowing VT100/ANSI terminals and the creation of simple terminal servers using the ncurses API for the UI. I plan to initially support only a subset of the ncurses lib, leaving the lib open to expansion/completion. Please stop me if I am going to reinvent the wheel, and tell me if there are any libraries of this...
3
3717
by: skip | last post by:
I'm having no success building the curses module on Solaris 8 (yes, I know it's ancient - advancing the state-of-the-art is not yet an option) for Python 2.4. Sun provides an apparently ancient version of curses in /usr/lib, so I downloaded and installed ncurses 5.5, both using default settings and using --with-shared. When the curses module is linked against libcurses.so I get some strange error about acs32map being undefined (which...
1
9170
by: Nick ! | last post by:
Chris Share <usenet at caesium.me.ukwrote: http://web.cs.mun.ca/~rod/ncurses/ncurses.html#xterm says "The ncurses library does not catch signal, because it cannot in general know how you want the screen re-painted". First, is this really true? When I make my xterms smaller they clip what is displayed--is that a function of curses or the xterm? Second, if true, it explains /what/ is going on--stdscr, only--, but isn't really...
5
2765
by: Ghirai | last post by:
Hello list, I need to write a console application. Are there any wrappers around curses/ncurses? Or any other similar libraries? Thanks. -- Regards,
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.