[Python.NET] How to show the Console window

2011-03-01 Thread Sharon Rozenblum
Hi! Is there a way to show the console window when running Python from C# (in order to see the Python outputs, when the c# project is not console application) Thanks, SHARON From: Sharon Rozenblum Sent: Monday, February 28, 2011 7:19 PM To: '[email protected]'; 'Ben

Re: [Python.NET] Setting PYTHONPATH from code

2011-02-28 Thread Sharon Rozenblum
(); RunSimpleString(script); ReleaseLock(pythonLock); ( with the "\n" delimiter!) Thanks to all! SHARON From: Sharon Rozenblum Sent: Monday, February 28, 2011 3:49 PM To: 'Benjamin Aranguren' Cc: [email protected] Subject: RE: [Python.NET] Setting PYTHONPATH from code Hi

Re: [Python.NET] Setting PYTHONPATH from code

2011-02-28 Thread Sharon Rozenblum
ary 27, 2011 6:08 PM To: Sharon Rozenblum Cc: [email protected] Subject: Re: [Python.NET] Setting PYTHONPATH from code On Wed, Feb 23, 2011 at 5:37 AM, Sharon Rozenblum mailto:[email protected]>> wrote: Hi! Trying to do as you said: string script = "impo

Re: [Python.NET] Setting PYTHONPATH from code

2011-02-27 Thread Sharon Rozenblum
PM To: Sharon Rozenblum; Oleksii Bidiuk Cc: [email protected] Subject: RE: [Python.NET] Setting PYTHONPATH from code This is the code I use all the time to append a dir to the system path and then load assemblies from that dir. (note, they’re not in the GAC {woot!}) if os.path.isfile(myFile

Re: [Python.NET] Setting PYTHONPATH from code

2011-02-23 Thread Sharon Rozenblum
běda [mailto:[email protected]] Sent: Wednesday, February 23, 2011 3:44 PM To: Sharon Rozenblum Cc: Oleksii Bidiuk; [email protected] Subject: Re: [Python.NET] Setting PYTHONPATH from code Hi Sharon, I don't use Python.NET, but I use IronPython and this is a snippet I use to add PYTHONPA

Re: [Python.NET] Setting PYTHONPATH from code

2011-02-23 Thread Sharon Rozenblum
mportModule. When setting the PYTHONPATH manually in the system variables with the “modulePath” and opening the VS is works. Any idea? Thanks, SAHRON From: Oleksii Bidiuk [mailto:[email protected]] Sent: Thursday, February 10, 2011 2:21 PM To: Sharon Rozenblum Cc: [email protected] Sub

[Python.NET] Setting PYTHONPATH from code

2011-02-10 Thread Sharon Rozenblum
Hi! Can someone tell me how to set PYTHONPATH variable in code when working with Python.Runtime.dll without changing the value in the system variables before. Thanks SHARON PLEASE NOTE: The information contained in this electronic mail message is intended onl