[Linux-programlama] Python;Tk() socket;re:2

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Erdem Bal (erdembal19@yahoo.com)
Date: Mon 30 Oct 2006 - 13:32:15 GMT


Hata nerede >nc -l -p 5555
Hiç bişey yok
y=127.0.0.1
e=ACİL YARDIM
----------------------------------------------------
x.get() veya x.write() la aşılabilirmi bu sorun (ama
nasıl)
----------------------------------------
from Tkinter import *
from sys import exit
import socket
def gon():
    s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
    s.connect(y,5555)
    s.send(e)
    data = s.recv(1024)
    s.close
root=Tk()
root.title("Mesaj V1.0")
root=Label(root)
root.config(text="MesajInIzI girin")
root.pack(side=TOP,expand=YES,fill=BOTH)
e=Text(height=10,width=40)
e.pack(side=LEFT,expand=YES,fill=BOTH)
x=Button()
x.config(text="Gönder")
x.config(command=gon)
x.config(height=7,width=17)
x.pack()
y=Entry()
y.pack(side=BOTTOM)
root.mainloop()

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.