Python: Cast SwigPythonObject to Python Object
<p>I'm using some closed Python module: I can call methods via API, but I cannot access the implementation. I know this module is basically wraps some C++ code. </p>

<p>So one of the methods return value type is a <code>SwigPythonObject</code>. How can I work with this object later, suppose I don't have any other aids from the module distributor nor documentation? </p>

<p>I want somehow to convert him to "regular" python object and observe him in the debugger for internal members structure.</p>

<p>Currently what I see in the debugger is something like: </p>

<pre><code>{SwigPythonObject} _&lt;hexa number&gt;_p_unsigned_char
</code></pre>