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

Andre Pany andre at s-e-a-p.de
Sun May 12 20:42:54 UTC 2019


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...
> Would there be other ways to call python functions and retrieve 
> the python objects (including camera image) inside a D program?
>
> Best regards

You could try to do s.th. similar like this package

http://code.dlang.org/packages/matplotlib-d

Kind regards
Andre



More information about the Digitalmars-d-learn mailing list