Re: [IronPython] Talk to Python script from C# app...

2008-06-16 Thread Bob Rosembob
Curt, Thanks a lot for your help Bob - Original Message From: Curt Hagenlocher <[EMAIL PROTECTED]> To: Discussion of IronPython Sent: Friday, June 13, 2008 6:38:11 PM Subject: Re: [IronPython] Talk to Python script from C# app... If this test worked, you should be able to jus

Re: [IronPython] Talk to Python script from C# app...

2008-06-13 Thread Curt Hagenlocher
To: Discussion of IronPython > Sent: Friday, June 13, 2008 1:51:23 PM > Subject: Re: [IronPython] Talk to Python script from C# app... > > There will be a "string.py" in the lib directory of your Python 2.5 > installation. You may need other files from this directory as

Re: [IronPython] Talk to Python script from C# app...

2008-06-13 Thread Bob Rosembob
From: Curt Hagenlocher <[EMAIL PROTECTED]> To: Discussion of IronPython Sent: Friday, June 13, 2008 1:51:23 PM Subject: Re: [IronPython] Talk to Python script from C# app... There will be a "string.py" in the lib directory of your Python 2.5 installation.  You may need other files f

Re: [IronPython] Talk to Python script from C# app...

2008-06-13 Thread Curt Hagenlocher
<[EMAIL PROTECTED]> > To: Discussion of IronPython > Sent: Thursday, June 12, 2008 3:18:09 PM > Subject: Re: [IronPython] Talk to Python script from C# app... > > Whether it's CPython or IronPython, you're going to have to deploy > something to the user's PC if

Re: [IronPython] Talk to Python script from C# app...

2008-06-13 Thread Simon Dahlbacka
; From: Curt Hagenlocher <[EMAIL PROTECTED]> > To: Discussion of IronPython > Sent: Thursday, June 12, 2008 3:18:09 PM > Subject: Re: [IronPython] Talk to Python script from C# app... > > Whether it's CPython or IronPython, you're going to have to deploy > something

Re: [IronPython] Talk to Python script from C# app...

2008-06-13 Thread Bob Rosembob
From: Curt Hagenlocher <[EMAIL PROTECTED]> To: Discussion of IronPython Sent: Thursday, June 12, 2008 3:18:09 PM Subject: Re: [IronPython] Talk to Python script from C# app... Whether it's CPython or IronPython, you're going to have to deploy something to the user's PC if you wan

Re: [IronPython] Talk to Python script from C# app...

2008-06-12 Thread Curt Hagenlocher
; Wouldn't this approach be simpler, since I don't have to install python on > user's PC? How exactly can I run ipy.exe with the args? > > Curt, > > The script that I have to use was created in 2004 and probably was not > tested with IronPython. The guy who created

Re: [IronPython] Talk to Python script from C# app...

2008-06-11 Thread Bob Rosembob
nobody modified the script since. Thank you very much, Bob     - Original Message From: Michael Foord <[EMAIL PROTECTED]> To: Discussion of IronPython Sent: Wednesday, June 11, 2008 1:29:27 PM Subject: Re: [IronPython] Talk to Python script from C# app... Hello Bob, The question i

[IronPython] Talk to Python script from C# app...

2008-06-11 Thread Tim Roberts
On Wed, 11 Jun 2008 10:24:59 -0700 (PDT), Bob Rosembob <[EMAIL PROTECTED]> wrote: Hello there, I have a C# application and a 3rd party Python script that the application should run. The script is called periodical with some arguments, performs some calculations and returns the results. I'm runn

Re: [IronPython] Talk to Python script from C# app...

2008-06-11 Thread Curt Hagenlocher
In addition to the questions that Michael posed, I'd add the following: Do you know if this 3rd-party script has been tested with IronPython already? And does it use any C-based Python extensions? IronPython is awesome and everyone should use it. And I would have said the same thing even before I

Re: [IronPython] Talk to Python script from C# app...

2008-06-11 Thread Michael Foord
Hello Bob, The question is, do you want to run it in the same way you would launch any command line application from C# and collect the results from standard out - or do you want to embed IronPython and run the script 'inside' your application? If the former then you can use System.Process t

[IronPython] Talk to Python script from C# app...

2008-06-11 Thread Bob Rosembob
Hello there, I have a C# application and a 3rd party Python script that the application should run. The script is called periodical with some arguments, performs some calculations and returns the results. I'm running Vista & VS2005.   What should I do to run the script from my application? I assu