+ CategoryInfo : NotSpecified: (:) [],
MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
PS C:\Python27>
On Tue, Apr 30, 2013 at 3:06 PM, Seungweon Park wrote:
> Hi,
>
> I'd like to call python method, or receive python o
Hi,
I'd like to call python method, or receive python object (method) directly
from powershell. Is it possible using python.net?
Thanks,
Spark.
_
Python.NET mailing list - [email protected]
http://mail.python.org/mailman/listinfo/pythondotnet
3 at 10:45 AM, Seungweon Park wrote:
> Thank you for the replies.
>
> Now, I recompiled Python.Net with .Net 4.0 and get below working with
> simple AAA.BBB.Adapter after reading
>
>
> http://stackoverflow.com/questions/14520888/clr-addreferenceexample-file-unable
[Description("SimpleDictionary")]
public class SimpleDictionary : ISimpleDictionary
{
...
}
Any thoughts?
Wonder if there is a way to list available class after AddReference().
Thanks,
Spark.
On Thu, Apr 18, 2013 at 9:14 PM, Stephen P. Lepisto wrote
; where the C# code has namespace Render and public class Demo.
>
> -Manuel
>
>
> On 04/18/2013 02:45 PM, Seungweon Park wrote:
>
> Hi,
>
> I have Adapter.dll with namespace 'AAA.BBB.Adapter" written in C# which
> gives network adapter information.
> I wan
Hi,
I have Adapter.dll with namespace 'AAA.BBB.Adapter" written in C# which
gives network adapter information.
I want to call one of method GetSpeed(). I don't know How to create an
instance in python.
Would you give me some clue for writing the same python code like below
powershell script using
Hi Oleksii & Sharon,
If you've done this before, would you share which I can get a console
window in embedded Python.Net and get the Python string output from C#?
Thank you,
Spark.
On Tue, Mar 1, 2011 at 1:33 PM, Oleksii Bidiuk wrote:
> Hi Sharon,
>
> I haven't found a way to run a console, bu
d \a are executed, resulting in
> that weird value you got.
>
>
> On Apr 4, 2013, at 5:45 PM, Seungweon Park wrote:
>
> I retested with same code as you have and added online to execute a.py. It
> looks it running but not the last line
>
> po = PythonEngine.RunString(
--
Ran 25 tests in 1.445s
FAILED (failures=1)
On Thu, Apr 4, 2013 at 8:34 AM, Seungweon Park wrote:
> Hi,
>
> I ran every tests from src\tests. However, I can't run runtests.py and
> test_module.py.
>
> test_module.py has an error message in console window an
Hi,
I ran every tests from src\tests. However, I can't run runtests.py and
test_module.py.
test_module.py has an error message in console window and pops up "Python
Console" with "Python Console has stopped working" message. Would you tell
me what I need to check to run this script? It looks to
project may be set to spawn an
> external console. Depends on your configuration. I don't know NUnit all
> that well. It's possible the NUnit's runtime redirects the output stream
> somewhere else as well.
>
> -brad
>
> On Apr 1, 2013, at 2:29
Hi,
I've been played with Python.Net for a week, but I can't find any sample to
use Python.Net in embedded way. I've searched many threads from the
previous emailing list, the result are not consistent, and looks like no
solution ??.
What I'm trying to do is that I want to get result (po) from C#
a task such as switch configuration, once
executing a command, and returns, then gets a result later).
Would you give me some suggestions how/what would be best idea for Async
wrapper using Python.RunTime?
Thanks,
Spark.
On Thu, Mar 28, 2013 at 2:35 PM, Seungweon Park wrote:
> Hi,
>
> I wro
Hi,
I wrote a code PythonWrapper and SimplePythonTest which uses PythonWrapper.
using SimplePython;
namespace SimplePythonTest
{
///
/// Python Wrapper Tests
///
[TestFixture]
public class PythonTests
{
PythonWrapper py;
///
/// PythonTests Con
Hello,
I just downloaded pythonnet-2.0-Beta0-clr4.0_140_py27.zip from
http://sourceforge.net/projects/pythonnet/, and extract to c:\temp and ran
nPython.exe, got below error.
Current my test machine has
Windows 2008 R2 SP1 with Python 2.7.3 (32bit).
When looked the error, and googled it. someone
Hello, PythonNet!
I'm looking for some sample code to call python from C#.
Actually, I'd like to execute python program(let say 'Hello.py') from C#
with parameters.
Actually, I'm a newbie at both of languages. So, could you give sample
source code? I was looking for some guide or source for seve
16 matches
Mail list logo