LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-30-2003, 09:55 AM   #1
sk8guitar
Member
 
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, 02:48 PM   #2
sk8guitar
Member
 
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.
 
  


Reply



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 04:48 PM
what is stdout stefaandk Linux - Newbie 1 09-06-2005 07:20 PM
stdout to file Machiaveli Programming 8 09-04-2005 08:53 AM
stdout stdin Furlinastis Linux - Newbie 3 08-11-2005 11:00 PM
reading from stdout nodger Programming 2 02-24-2005 07:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:46 PM.

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