www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Calling python script from a d program

reply Aayush <aayushsaxena15 gmail.com> writes:
Hi,

I want to call a python script from a d program. Can someone 
please help me?
Thanks.
Feb 28 2017
parent Seb <seb wilzba.ch> writes:
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 ;-)
Feb 28 2017