[IronPython] How to compile has a DLL assembly ?
prince0 at hotmail.com
Sat Jul 22 01:35:36 PDT 2006
I have compiled my Python script and now I would like to use it as a
standard DLL assembly.
How can I do this?
Here's my current code:
List<string> files = new List<string>();
PythonCompiler compiler = new PythonCompiler(files, @"c:\toto.dll");
private toto toto1;
this.toto1 = new toto();
PythonModule pm = Ops.InitializeModule(this.toto1, "toto", new
pm.SystemState.stdout = new PythonFile(File.Create(@"c:\output.txt"),
Encoding.ASCII, "output", "w");
Is there a better way? It seems I will have to modify IronPython's source
code so I can also specify the args.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users