Output to a text window

google at orcon.net.nz google at orcon.net.nz
Fri Feb 16 19:19:06 EST 2007


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.




More information about the Python-list mailing list