<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT size=2 face=Arial>I have a project where I am hosting IronPython and
I was wondering what is the best way to create modules in C# for python to use.
I have found two ways to do it so far. One method is what is done in
IronPython, where static classes and the PythonModule attribute are
used but I don't want to use static classes to access runtime data. The
other method I found was to use the module class and add all my functions,
sub-modules and other data to the dictionary but this is painful to setup and I
don't know how to over load functions I add to the dictionary.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Is there another method I can use to create modules
or am I over looking something in one of the methods I found?</FONT></DIV>
<DIV><FONT size=2 face=Arial>Thanks for the help</FONT></DIV></BODY></HTML>