Hi All,

I use commands,

        server_address = ('134.32.45.9', 10000)
        print ('starting up on port '% server_address)
        sock.bind(server_address)

the message pop ups in the window command when I run full code, however I would 
like to print this message in the main GUI, where I have defined

tcpControlGrid.addWidget(QtGui.QLabel('TCP Server Messages'),3,0)
tcpControlGrid.addWidget(self.tcpControlMessages,4,0)

self.tcpControlMessages = QtGui.QPlainTextEdit()

How can I transfer messages from above code directly to the GUI interface, so 
that I can see on main window.


Many thanks for help.
Patrycja
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to