Output to a text window

Joshua J. Kugler joshua at eeinternet.com
Fri Feb 16 19:25:55 EST 2007


google at orcon.net.nz wrote:

> Hi,
> 
> I'm going around in circles so I'm asking for help. I want to read a
> simple text file and output the contents to a GUI window when I click
> on a button. I have written a small python program to read the
> contents of a file when a button is clicked but can only output this
> to a console window. I'm using the pygtk binding with glade for the
> gui.
> 
> I know it must be quiet simple but a mental block has rapidly
> descended.
> 
> Any help would be appreciated.

What does your code look like?  What are you using to print?  Are you
writing to the GUI or using the 'print statement?'

j

-- 
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE

-- 
Posted via a free Usenet account from http://www.teranews.com




More information about the Python-list mailing list