LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-13-2008, 06:49 AM   #1
donnied
Member
 
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, 08:09 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
Does this help somewhat? (your question is not very clear IMHO)
http://www.linuxquestions.org/questi...e-help-362401/

It uses wxpython (python bindings for wxwidgets) though,.. yet another GUI-framework for python.
 
Old 02-14-2008, 07:34 PM   #3
donnied
Member
 
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?
 
  


Reply

Tags
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 11:50 AM
simple 3d software library for python sajjadc Programming 2 08-12-2006 10:21 AM
Simple Python Question peter_89 Programming 3 05-10-2006 11:13 AM
how do I do this in Python? (simple sh script) johnMG Programming 6 12-22-2004 10:05 PM
simple python function question Tyir Programming 2 03-28-2004 10:53 PM


All times are GMT -5. The time now is 11:29 AM.

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