It should be possible to connect to an IPv4 server on localhost using the "localhost" hostname. For example, the following should work: from ws4py.client ...
I do not consider myself as a programmer. I create these little programs as experiments to play with Python, or to solve problems for myself. I would gladly accept pointers from others to improve, ...
If you need a quick web server running and you don't want to mess with setting up apache or something similar, then Python can help. Python comes with a simple builtin HTTP server. With the help of ...