Is there code snippet for python and xmpp to connect on localhost (127.0.0.1) ie host machine with openfire server running?
It seams to me that xmpp always connect on WAN IP's!
Any help?
User Profile
Collapse
-
here is the source
Here is source from tutorial, I made some small changes
In short function wanip gets WAN IP and stores it in variable
Button 3 on click calls it and change text2
I wish to change text2 by simply call that function - wanip or any else
how to do that?
here is the source code
tnx for help
...Code:# communicate.py import wx import urllib
-
How to change label from "any" function or outside from class
Hello,
I go thrugh number of tutorials and steel can't find one simple thing (or I can't understand how to do this). My question is this:
if we make "any" function like this:
def myfunc():
#code here:
return
and have a class (gtk or wxWidget) in which we create a Label
class MyLabel():
#code here
#end class
mainloop()...
No activity results to display
Show More
Leave a comment: