Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:not': 0.03; '#include': 0.09; 'dependency': 0.09; 'deploy': 0.09; 'main()': 0.09; 'snippet': 0.09; 'python': 0.11; 'itself.': 0.14; 'folder.': 0.16; 'folder': 0.16; 'looked': 0.18; 'app': 0.19; 'skip:p 40': 0.19; 'help.': 0.21; 'gets': 0.27; 'skip:p 30': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'too.': 0.31; 'correctly.': 0.31; 'file': 0.32; 'there.': 0.32; 'checked': 0.32; 'python.org': 0.32; 'supposed': 0.32; '2010.': 0.33; 'url:python': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'c++': 0.36; 'shows': 0.36; 'url:org': 0.36; 'skip:& 10': 0.38; 'depends': 0.38; 'to:addr :python-list': 0.38; 'files': 0.38; 'visual': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'how': 0.40; 'linked': 0.65; '2.7.': 0.84; 'customers?': 0.84; 'subject:found': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Riv/CylfXPWOgaAPd0z7aHbVGHpSA969fEOqGWynhu0=; b=yr1CCqCssNhoXHDNT2m2aqkhqVami3euawh5uLH7Mue4JRo/ZgLUis041jo4YdAgwK I/8bcOZfLBpedxxNRIo2560v5bdP19wGTRhraL0eDSJVGIdUNm8q0cKj6urvzheNnpuM DpN1nUn3r3UB2JiE57OpW5RvkT1rHTNCnhqC+ry9mHXb2Kh/Fjnd4OsvsugI55ZnmiVG weKk4FCSHaxnkNM5a8819K703hIL0AmYRCsKZ9CubauXt4TPVtfaDZpMSiUmZ1zJI+kj 9H9gEl5d5wVCZZICBaJyXPrmpsVpC0MrWqj+SLk9JAjj2rjyckcr+f+R8fG1HN+x3Wkm T0uw== MIME-Version: 1.0 X-Received: by 10.152.22.33 with SMTP id a1mr22826866laf.79.1425276000253; Sun, 01 Mar 2015 22:00:00 -0800 (PST) Date: Mon, 2 Mar 2015 11:45:00 +0545 Subject: Python27.dll could not be found From: Sarvagya Pant To: python-list@python.org Content-Type: multipart/alternative; boundary=089e0158b936b3bc6a051047ed4f X-Mailman-Approved-At: Mon, 02 Mar 2015 09:43:47 +0100 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 55 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1425285828 news.xs4all.nl 2855 [2001:888:2000:d::a6]:53042 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86704 --089e0158b936b3bc6a051047ed4f Content-Type: text/plain; charset=UTF-8 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 #include #include int main() { Py_SetProgramName("Learning"); Py_Initialize(); PyRun_SimpleString("import hashlib\nprint hashlib.md5('sarvagya pant').hexdigest()"); Py_Finalize(); return 0; } I have used Visual Studio 2010. I have linked the include directories and lib files correctly. It gets correctly built. Dependency walker shows the file depends upon Python27.dll. I have looked into the folder Dlls of python. It is not there. Also I have checked both System and System32 folder. It is not present in there too. Python version is 2.7. How can I get Python27.dll to deploy my app for customers? Please help. -- *sarvagya* --089e0158b936b3bc6a051047ed4f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have been writing a c++ program that is supposed to cal= l the python function. The code is a snippet from python.org itself.
#include <Python.h>
#include <i= ostream>
#include <string>

int main()
{
=C2=A0=C2= =A0=C2=A0 Py_SetProgramName("Learning");
=C2=A0=C2=A0=C2=A0 Py= _Initialize();
=C2=A0=C2=A0=C2=A0 PyRun_SimpleString("import hashli= b\nprint hashlib.md5('sarvagya pant').hexdigest()");
=C2=A0= =C2=A0=C2=A0 Py_Finalize();
=C2=A0=C2=A0=C2=A0 return 0;
}

I have used Visual Studio 2010. I have linked the include directories a= nd lib files correctly. It gets correctly built. Dependency walker shows th= e file depends upon Python27.dll.
I have looked into the folder = Dlls of python. It is not there. Also I have checked both System and System= 32 folder. It is not present in there too. Python version is 2.7. How can I= get Python27.dll to deploy my app for customers? Please help.

--
sarvagya
--089e0158b936b3bc6a051047ed4f--