[2.2.1]How To Gracefully Shutdown an XML-RPC Server

Andrew Dalke adalke at mindspring.com
Fri Sep 26 22:24:30 EDT 2003


The Jetman:
> I'm reading source code, but I haven't found any examples of
> how to simply shutdown my XML-RPC server.

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/114579

Or you can ungracefully use os._exit, like pulling the emergency
brake on a train.

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list