[PyKDE] again problem about LineEdit(thanks for Hollis)

wqh pyqt at 263.net
Mon Jun 18 16:41:01 BST 2001


 def my(self):
        from telnetlib import Telnet
        self.LineEdit1.setText("bbs.tsinghua.edu.cn")    
        a=self.LineEdit1.text()
## at first I want use :
  ##            rn=Telnet(a,23)
##         But it said an invalid parameter ,so I want to test if a is
# equall to"bbs.tsinghua.edu.cn
##  
        print a
        b="bbs.tsinghua.edu.cn"
        print b
        print a==b   
## the   result is 0 ,that means a is not equal to b ,how
#can I  make my intention into reality            


_____________________________________________
[×ã²»³ö»§ ÇáËÉÉÏÍø] ÉÏÍøרÓúţº95963£¬Óû§Ãû/ÃÜÂ룺263
Ìػݾ«Æ·¿Õµ÷ÂòÓÖËÍ  http://shopping.263.net/hotsale/aircondition/index.asp




More information about the PyQt mailing list