Prev: Does MS Office need to be installed to use pywin32 for editingExcel docs?
Next: Does MS Office need to be installed to use pywin32 for editing Excel docs?
From: F van der Meeren on 15 Jun 2010 04:20 Hi, I am trying to figure out, what files to copy with my app so I am able to initialize the python runtime. Where can I find information about this? Thank you, Filip
From: Thomas Jollans on 15 Jun 2010 05:33
On 06/15/2010 10:20 AM, F van der Meeren wrote: > Hi, > > I am trying to figure out, what files to copy with my app so I am able to initialize the python runtime. > Where can I find information about this? You need to link with libpython. How you do this depends on the toolchain you're using. Which build tool/IDE are you using? GNU auto{conf,make}? CMake? waf? Something else? Check the documentation of the tools you're using on how to use libraries - I don't think Python behaves any differently to other libraries. For information on how to initialize the interpreter in a program linked with -lpython, check the Extending/Embedding section on docs.python.org If you run into any problems along the way, don't hesitate to ask! Thomas |