I'm trying to use an embedded python interpreter from C# using pythonnet (the
python3 compatible version found at https://github.com/renshawbay/pythonnet)
My interpreter is located in
D:\src\scratch\TestPythonNet\TestPythonNet\PythonRuntime and has the "Lib" and
"Libs" folder from the python di
089\System.dll
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1:
invalid character
//===
The "print(a.Location);"
On Tue, Aug 19, 2014 at 2:22 PM, Serge WEINSTOCK
mailto:serge.weinst...@uk.bnpparibas.com>>
wrote:
Hi,
I’m trying to use Python3.2 using the Python.Net version found at:
https://github.com/renshawbay/pythonnet
I’m using the following sim
eter works with 3.3 but
not 3.3
Thanks,
Serge
From: Serge WEINSTOCK
Sent: 19 August 2014 17:45
To: 'pythondotnet@python.org'
Subject: RE: [Python.NET] Running an embedded interpreter
Hi Tony,
I’ve tried your suggestion but it doesn’t work.
The issue seems to be more “fundamental”
without having to build
python yourself.
Best regards,
Tony
On Thu, Aug 21, 2014 at 10:36 AM, Serge WEINSTOCK
wrote:
Hi Tony,
I’ve noticed that you are the main contributor for this branch of Python for
.Net. Thanks a lot for that contribution.
Maybe you can help me a little more with my issu
@python.org]
Sent: 26 August 2014 16:54
To: pythondotnet@python.org
Subject: Re: [Python.NET] Running an embedded interpreter
Hi Serge,
ah great, good spot.
Certainly, please send a pull request to the github repo and I'll merge it.
thanks,
Tony
On Tue, Aug 26, 2014 at 1:07 AM, Serge WEIN
awbay/pythonnet/pulls, and I can't see your fork. Could
you send me the url of your fork and I'll take a look if I can pull the changes
from there?
If you want to have another go at creating the pull request this might help:
On Wed, Aug 27, 2014 at 2:02 PM, Serge WEINSTOCK
mail
Hi Tony,
I've found a bug when trying to use Python integer as .Net int32. For example:
//===
using System;
using Python.Runtime;
namespace TestPythonNet
{
public class ATest
{
public long a64;
public int
Hi,
I haven’t. I’m a little busy with work now. But I will do it today or tomorrow.
I’ve found another issue when using an embedded Python interpreter. I will
explain it in another thread
Serge
From: pythondotnet-bounces+serge.weinstock=uk.bnpparibas@python.org
[mailto:pythondotnet-bounce
decorators with a
simple "from decorators_pythonnet import *". If run from an embedded
interpreter, we could add a line for running the same code once the engine has
been initialized.
What do you think?
Serge Weinstock
___
This e-
x27;ll take a look, but if you get round to it before I do then please feel free
to submit a pull request. I'll create an issue in github so it doesn't get
forgotten.
thanks,
Tony
On Tue, Sep 30, 2014 at 11:59 AM, Serge WEINSTOCK
mailto:serge.weinst...@uk.bnpparibas.com>>
11 matches
Mail list logo