[IronPython] Partial classes

Michael Stephens falcon at uwyo.edu
Thu Jun 12 19:29:54 PDT 2008


Our company has a scripting/macro system.  Functions are stored in a
database and at runtime we generate python classes.  For a form we have
multiple functions declared.  We want to use IronPython studio to emit the
python classes to a file to be debugged.  Is it possible to build a partial
class so that we can have one file per function.

file function324.py
partial class Form76:
 def function324.py

file function325.py
partial class Form76
 def function324.py

file base325.py
 #do not edit anything in this file! changes will not be saved!


Michael Stephens

Electrical Engineering Graduate Student
University of Wyoming
falcon at uwyo.edu or 89iroc at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080612/6a2fdd99/attachment.htm>


More information about the Users mailing list