Welcome to the most active Linux Forum on the web.
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 07-30-2003, 10:55 AM   #1
Registered: Jul 2003
Location: DC
Distribution: mandrake 9.1
Posts: 415

Rep: Reputation: 30
stdout with tk?

hey, i am just messing around with tk and using a freedb module. so i got everything to be fine and dandy, and it'll print what you want, but not in the text widget. it will print in the command line that you opened the program from.

the module i am using has a function that prints to stdout. how can i change stdout in tk from the command prompt to the text widget?
Old 07-30-2003, 03:48 PM   #2
Registered: Jul 2003
Location: DC
Distribution: mandrake 9.1
Posts: 415

Original Poster
Rep: Reputation: 30
i ended up writing to a temporary file and then re-reading it back in to the text widget, but thats a waste i think. and not nearly as cool.


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
/dev/stdout nbframer Linux - Newbie 6 09-10-2005 05:48 PM
what is stdout stefaandk Linux - Newbie 1 09-06-2005 08:20 PM
stdout to file Machiaveli Programming 8 09-04-2005 09:53 AM
stdout stdin Furlinastis Linux - Newbie 3 08-12-2005 12:00 AM
reading from stdout nodger Programming 2 02-24-2005 08:49 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:00 AM.

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
Open Source Consulting | Domain Registration