[IronPython] Partial classes

Michael Stephens falcon at uwyo.edu
Fri Jun 13 04:29:54 CEST 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://mail.python.org/pipermail/ironpython-users/attachments/20080612/6a2fdd99/attachment.html>


More information about the Ironpython-users mailing list