From michael_sweeney at agilent.com Mon Nov 6 05:31:59 2006 From: michael_sweeney at agilent.com (michael_sweeney at agilent.com) Date: Sun, 5 Nov 2006 21:31:59 -0700 Subject: [Python.NET] ClrModule Progress? Message-ID: <64B0479F895F194587EE70276364C5C60167F925@wcosmb02.cos.agilent.com> Hi Brian, Any progress on the ClrModule :) If you give me some pointers or a partial implementation, maybe I can get something finished? I am sure there are others with the same thoughts... I currently develop a Python application and need .NET 2.0 integration. Fully migrating to IronPython does not make sense for our project. We are fully rooted in some compiled .pyd's. PythonNet is a great bridging solution. Thanks in advance... Mike ------------------------------------------------------------ Michael A. Sweeney Agilent Technologies ------------------------------------------------------------ From michael.niemaz at xrce.xerox.com Thu Nov 30 09:33:33 2006 From: michael.niemaz at xrce.xerox.com (Michael Niemaz) Date: Thu, 30 Nov 2006 09:33:33 +0100 Subject: [Python.NET] Invoking script python from C# Message-ID: <1164875613.14232.110.camel@frugy> Hi all, I'm invoking a python script from C# using the PythonEngine.RunSimpleString command. [BTW I couldn't figure out what RunString was for ...] Several things: First, it does not 'run' unless I remove the main definition. It crashes with that message : "AttributeError: 'module' object has no attribute 'argv'. And when I removed the main, it does nothing obviously ;-) Which leads to my question: How to pass arguments to the python script? Also, how to get its output stream and error stream? Are all this possible at all using pythondotnet? Thanx, --mike