Loading an imported module (C API)

Discussion in 'Python' started by booncw, Apr 6, 2010.

  1. booncw

    booncw Guest

    Hi,

    I am running a simulation where the python module has already been
    imported. Could you please tell me how to load it?

    I've been doing this (importing everytime), but it is too slow:
    pModule = PyImport_Import(pName);


    Yours,

    Boon
    booncw, Apr 6, 2010
    #1
    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. dody suria wijaya

    Get importer module from imported module

    dody suria wijaya, Feb 7, 2005, in forum: Python
    Replies:
    5
    Views:
    390
    dody suria wijaya
    Feb 8, 2005
  2. kj
    Replies:
    9
    Views:
    294
    AK Eric
    Nov 12, 2009
  3. David
    Replies:
    2
    Views:
    538
    David
    Feb 11, 2010
  4. Dun Peal
    Replies:
    10
    Views:
    455
    Chris Rebert
    May 3, 2011
  5. Volker Nicolai
    Replies:
    9
    Views:
    930
    Fabian Pilkowski
    Jul 4, 2005
Loading...

Share This Page