March 01, 2017 Calling python script from a d program | ||||
---|---|---|---|---|
| ||||
Hi, I want to call a python script from a d program. Can someone please help me? Thanks. |
March 01, 2017 Re: Calling python script from a d program | ||||
---|---|---|---|---|
| ||||
Posted in reply to Aayush | On Wednesday, 1 March 2017 at 06:56:03 UTC, Aayush wrote: > Hi, > > I want to call a python script from a d program. Can someone please help me? > Thanks. If you simply want to call your script, have a look at std.process https://dlang.org/phobos/std_process.html For more interoperability between the D and Python, you can use pyd: https://github.com/ariovistus/pyd http://pyd.readthedocs.io/en/latest/embed.html We are happy to help, but please use D.Learn in the future ;-) |
Copyright © 1999-2021 by the D Language Foundation