is there a way to embed python 3.7 code in D program?

torea tetorea at gmail.com
Sun May 12 22:36:43 UTC 2019


On Sunday, 12 May 2019 at 21:01:31 UTC, Nicholas Wilson wrote:
> On Sunday, 12 May 2019 at 20:06:34 UTC, torea wrote:
>> Hi,
>>
>> I'd like to use D for the "brain" of a small robot (Anki 
>> vector) whose API is coded in Python 3.6+.
>> I had a look at Pyd but it's limited to python 2.7...
>
> It isn't. You may needs to set a dub version, or it may pick up 
> the 2.7 as the default but it definitely works (I'm travelling 
> ATM, can't check).

ok, I'll do some more tests with pyd then.
And if I cannot get it to work, I'll have a look at the package!

Many thanks!!


More information about the Digitalmars-d-learn mailing list