Inspect Python Classes for instance data information
Kent Johnson
kent37 at tds.net
Tue May 3 07:47:33 EDT 2005
Tim Henderson wrote:
> Hello
>
> I want to creat a program that can inspect a set of classes that i have
> made and spit out a savable version of these classes. To do this I need
> to be able to inspect each class and get all of its instance data as
> well as information about a particular meathod.
If XML format is not a requirement then the pickle module may do what you want. For XML output you
might be interested in
http://www.yared.com/pybypy/xml/index.html
More information about the Python-list
mailing list