473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

curses/urwid simple menu

Hello. Could you help me...I need to create application with urwid or curses
support. Have you got a pretty simple example with it?
--
Pozdrawiam Leszek Mi¶
Nothing is secure, paranoia is your friend.
Jul 26 '07 #1
1 3963
SGVsbG8uIENvdWxkIHlvdSBoZWxwIG1lLi4uSSBuZWVkIHRvIG NyZWF0ZSBhcHBsaWNhdGlvbiB3
aXRoIHVyd2lkIG9yIGN1cnNlcwpzdXBwb3J0LiBIYXZlIHlvdS Bnb3QgYSBwcmV0dHkgc2ltcGxl
IGV4YW1wbGUgd2l0aCBpdD8KCgotLSAKUG96ZHJhd2lhbSBMZX N6ZWsgTWm2Ck5vdGhpbmcgaXMg
c2VjdXJlLCBwYXJhbm9pYSBpcyB5b3VyIGZyaWVuZC4K
>>s = '''SGVsbG8uIENvdWxkIHlvdSBoZWxwIG1lLi4uSSBuZWVkIHR vIGNyZWF0ZSBhcHBsaWNhdGlvbiB3
.... aXRoIHVyd2lkIG9yIGN1cnNlcwpzdXBwb3J0LiBIYXZlIHlvdS Bnb3QgYSBwcmV0dHkgc2ltcGxl
.... IGV4YW1wbGUgd2l0aCBpdD8KCgotLSAKUG96ZHJhd2lhbSBMZX N6ZWsgTWm2Ck5vdGhpbmcgaXMg
.... c2VjdXJlLCBwYXJhbm9pYSBpcyB5b3VyIGZyaWVuZC4K'''
>>print s.decode('base64')
Hello. Could you help me...I need to create application with urwid or curses
support. Have you got a pretty simple example with it?
I recommend that you post in plain text, since your message
comes through like the above in my reader, and probably to
other people also.

Here is the first hit googling for python curses:
http://www.amk.ca/python/howto/curses/

Here is an urwid tutorial:
http://excess.org/urwid/tutorial.html

Jul 28 '07 #2

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

Similar topics

0
by: Matthew Alton | last post by:
The appended program freaks python 2.2 & 2.3 completely out. To reproduce the wierdness: i) copy the source to a file called consarn.py ii) $ python consarn.py; iii) the program is now doing a...
3
by: linuxfreak | last post by:
Was wanting to write a text based application in python.... seems curses module is the way to go... anyone knows of any good tutorials apart from the one written by esr
30
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()...
0
by: Roberto Bechtlufft | last post by:
I'm trying hard to create my first useful python program: an rss reader in curses. I wrote some really ugly code to create a highlighting menu: the opprions are laid on the screen, and then...
0
by: krishnakant Mane | last post by:
hello, I have been trying out urwid for creating ncurses based applications. I will like to know if any one has ever tried to create menu bar with drop down menus using urwid? any suggestion?...
4
by: James Stroud | last post by:
Hello, Is curses really lacking an event loop? Do I have to write my own? I infer from the docs that this is the case. For example, I want the screen to be updated with resize but I find myself...
15
by: pinkfloydhomer | last post by:
I need to develop a cross-platform text-mode application. I would like to do it in Python and I would like to use a mature text-mode library for the UI stuff. The obvious choice, I thought, was...
5
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,
3
by: LazarusHC | last post by:
I'm try to write a very simple menu in perl curses, but I just can't find any documentation for it. A small sample script called demo.menu came with the package, but I can't seem to figure out how...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.