title: How can I get a list of methods for xmlrpclib.ServerProxy() without using dir()?
body: <p>I can not get a list of methods on xmlrpclib.ServerProxy(). I have tried using dir(); however, the interpreter keeps returning an error.</p>
  
  <p>This is what I tried:</p>
  
  <pre><code>&gt;&gt;&gt;s = xmlrpclib.ServerProxy("http://192.168.1.72:8888")
  &gt;&gt;&gt;dir(s)
  </code></pre>
  
  <p>And I get this error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
   return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
   verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
   return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
   return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
   return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
   raise Fault(**self._stack[0])
  
  xmlrpclib.Fault: &lt;Fault 1: '&lt;type \'exceptions.Exception\'&gt;:method "__dir__" is not supported'&gt;
  </code></pre>
  
  <p>Dir() is not supported, how can I get a list of methods?</p>