473,378 Members | 1,441 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,378 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 3960
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...

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.