from worldserver import WorldServer from client import WorldClient import socket def test(port = 32333): hostname=socket.gethostname() dylan = WorldClient() dylan.connect(hostname, port) #server = dylan.serveraccessor() #dylan.write(server,["this is dylan"]) #dylan.main()