Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-13-2008, 07:49 AM   #1
Registered: Oct 2006
Distribution: Debian x64
Posts: 198

Rep: Reputation: 30
Python how to simple textview

I am looking to generate one screen( with two columns) or two screens.
I need a text input from raw_data and an output that stays there a list of what has been entered before plus some other output.

What is your answer? _________ | Previous answers + my output

I had originally looked into using Glade to make GTK windows etc. because I had luck with them before but I'm not sure about the object handlers: which ones to use, how to actually enter the data in the text input box, how to fork and pipe inputs outputs.

I know Tk is really popular. I'm thinking about looking into curses.

I guess the easiest question:
I have output p:
print bleah

How to I print "bleah" to a different screen?
Old 02-13-2008, 09:09 AM   #2
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 110Reputation: 110
Does this help somewhat? (your question is not very clear IMHO)

It uses wxpython (python bindings for wxwidgets) though,.. yet another GUI-framework for python.
Old 02-14-2008, 08:34 PM   #3
Registered: Oct 2006
Distribution: Debian x64
Posts: 198

Original Poster
Rep: Reputation: 30
What is the simplest way within the program to print output to a text box?

What is the simplest way within a program to generate an input text box and save that information as a variable?


gtk, output, python, simple

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Super simple python question: how do you do (!x)? BrianK Programming 9 09-20-2007 12:50 PM
simple 3d software library for python sajjadc Programming 2 08-12-2006 11:21 AM
Simple Python Question peter_89 Programming 3 05-10-2006 12:13 PM
how do I do this in Python? (simple sh script) johnMG Programming 6 12-22-2004 11:05 PM
simple python function question Tyir Programming 2 03-28-2004 11:53 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration