Connecting Tech Pros Worldwide Forums | Help | Site Map

About Tkinter Gui

Newbie
 
Join Date: Jul 2009
Posts: 8
#1: Sep 3 '09
if i get the data through socket, how can i put them in the Tkinter GUI??
Can Anyone give me a clue by the below



Quote:
import PIL
import Tkinter
import Image

while 1:
data, address = svrsocket.recvfrom(80000)
img = Image.frombuffer ('RGB', (100,100), data, "raw",'RGB', 0, 1)

Reply