>         a=self.LineEdit1.text()
>         b="bbs.tsinghua.edu.cn"
>         print a==b   
> ## the   result is 0 ,that means a is not equal to b ,how
> #can I  make my intention into reality            

Note that "a" is a reference to a QString object, not a Python string.
The following should work as expected:
 print str(a)==b   

-- 
Soeren



_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to