I used MakePy to generate .py support for a COM dll. That created the
file
30D58DAF-B538-45F1-8EFF-F69ABA2BA798x0x1x13.py
I want to be sure that this file is present and so I used MakePy -i to
construct a call to gencache.EnsureModule().
This is what it said:
{30D58DAF-B538-45F1-8EFF-F69ABA2BA7
I'm trying to write a basic Subversion client because I need to
integrate Subversion with a product that keeps source code in a
database (so it has no notion of "working copy").
I have tried to translate the simple C examples in Garrett Rooney's
book into Python, but the very clever SWIG stuff has
This doesn't answer your whole post because it asked a lot of
questions. But as to finding out whether something is an instance of a
class:
class X(object):
# ... defined as in your post
>>> x = X('Fred')
>>> x
class X contains:
>>> type(x) is X
True
>>> isinstance(x,X)
True
>>> x.__class__