3

I need a python interpreter to be statically linked to my app (Windows app) that means, that I need no dlls with my app. My app will not use any third-party python modyles, only text scripts.

How can I do this? Or may be there are already compiled libs?

A need a 3.2 version of python

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Ivan
  • 65
  • 4

1 Answers1

-1

Due to how the Windows loader works, this is impossible; DLLs loaded by the app (including .pyd files) do not have access to the symbol table used/provided by the executable by default, and so must read the symbols from the pythonX.Y.dll instead.

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358
  • That's impossible even if my app will not load any additional .pyd's? I just need python script to call functions exported by app. python will be a scripting language. So, no additional libs – Ivan May 27 '12 at 11:27