Re: Python27.dll could not be found

2015-03-02 Thread Dave Angel
On 03/02/2015 01:00 AM, Sarvagya Pant wrote: I have been writing a c++ program that is supposed to call the python function. The code is a snippet from python.org itself. #include Python.h #include iostream #include string int main() { Py_SetProgramName(Learning); Py_Initialize();

Python27.dll could not be found

2015-03-02 Thread Sarvagya Pant
I have been writing a c++ program that is supposed to call the python function. The code is a snippet from python.org itself. #include Python.h #include iostream #include string int main() { Py_SetProgramName(Learning); Py_Initialize(); PyRun_SimpleString(import hashlib\nprint

Re: Python27.dll could not be found

2015-03-02 Thread Gisle Vanem
Dave Angel wrote: When I ran Windows, I had written a simple utility that searched the PATH for a specified file. I called it which.bat to match the Linux equivalent. I've written a similar tool; envtool --path --python python27.dll Matches in %PATH: 15 May 2013 - 21:43:38:

Re: Python27.dll could not be found

2015-03-02 Thread Dave Angel
I INTENDED to send it to the list, but made the same mistake myself. Forwarded Message Subject: Re: Python27.dll could not be found Date: Mon, 02 Mar 2015 08:51:07 -0500 From: Dave Angel da...@davea.name To: Sarvagya Pant sarvagya.p...@gmail.com Sarvaqya accidentally sent me

Re: Python27.dll could not be found

2015-03-02 Thread Dave Angel
On 03/02/2015 02:22 PM, Gisle Vanem wrote: Dave Angel wrote: When I ran Windows, I had written a simple utility that searched the PATH for a specified file. I called it which.bat to match the Linux equivalent. I've written a similar tool; envtool --path --python python27.dll Matches in