embedding Python

Discussion in 'Python' started by Ivo, Aug 7, 2003.

  1. Ivo

    Ivo Guest

    Hi.

    I want to embed Python 2.3 as a scripting language in my Win32 application. I have few questions:

    1) Is it possible to link Python as a static lib?
    2) Can I link statically all the modules I want and disable the loading of any additional DLLs?

    Thanks
    Ivo
    Ivo, Aug 7, 2003
    #1
    1. Advertising

  2. "Ivo" <> writes:

    > 1) Is it possible to link Python as a static lib?


    Yes, but you have to tweak the project files in case you are using VC6.

    > 2) Can I link statically all the modules I want and disable the
    > loading of any additional DLLs?


    Yes; in addition to tweaking the project files, you also need to edit
    PC/config.c

    Regards,
    Martin
    Martin v. =?iso-8859-15?q?L=F6wis?=, Aug 7, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darryl

    Embedding Python in Python

    Darryl, Oct 8, 2003, in forum: Python
    Replies:
    6
    Views:
    397
    Darryl
    Oct 14, 2003
  2. Phil Frost

    Embedding Python in Python

    Phil Frost, Aug 18, 2004, in forum: Python
    Replies:
    23
    Views:
    769
    Paul Rubin
    Aug 19, 2004
  3. Maurice LING

    embedding python in python

    Maurice LING, Sep 29, 2004, in forum: Python
    Replies:
    8
    Views:
    376
    Jeff Shannon
    Oct 1, 2004
  4. Kakacek
    Replies:
    1
    Views:
    377
    Kakacek
    Jan 12, 2006
  5. abhinav
    Replies:
    1
    Views:
    437
    Armin Steinhoff
    Feb 19, 2006
Loading...

Share This Page