Re: [Python.NET] converting double array to numpy list

2014-08-21 Thread Mika S
t; Overall I don't understand your problem, can you be more clear? I don't > know if you are trying to do the copy in Python or C#, I am guessing you > are copying from C# array to a new Python NumPy array, which is exactly > what that post did (in Python). > > Jeff &g

[Python.NET] converting double array to numpy list

2014-08-20 Thread Mika S
How do I pass a double array as a numpy list from C# (calling python code from c#) or passing something that can become a numpy list with minimal overhead. Right now, the naive way would be to create a new PyList. And to fill it with elements from the double array. But I read on a thread on this

Re: [Python.NET] How to embed properly using Python for .NET

2014-08-05 Thread Mika S
What dependencies are missing? I find that having a basic python installation on the target machine is necessary. If that's not the case then copy your python folder with the modules and they eggs on the target machine and set the PYTHONPATH environment var from c#. On Sat, Aug 2, 2014 at 9:50 PM

[Python.NET] (no subject)

2014-07-28 Thread Mika S
Hi, I have downloaded the pythondot net package and trying to compile on vs 2012. I have a few qs, can someone answer them: 1. Do I have to uncomment lines that import Mono since they are generating compiler errors. 2. How do I link the runtime.dll to my runtime version of python. Ideally, what I

[Python.NET] newbie questions

2014-07-28 Thread Mika S
[earlier version of this mail was sent without a subject. Just in case it goes through] Hi, I have downloaded the pythondot net package and trying to compile on vs 2012. I have a few qs, can someone answer them: 1. Do I have to uncomment lines that import Mono since they are generating compiler e