>>>>> [email protected] (g) wrote:

>g> Well, I think Martin's example will suit my needs.

>g> Thanks for the explanation!

His client code is unnecessarily complicated with 3 session variables.
The following code does the same:

    SESSION = xmlrpclib.ServerProxy(URL_PORT)
    print(SESSION.show_random())
    print(SESSION.show_random())
    SESSION.shutdown_service()

-- 
Piet van Oostrum <[email protected]>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: [email protected]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to