Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Loading an imported module (C API)

Thread Tools

Loading an imported module (C API)

Posts: n/a

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);


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do directly imported variables behave differently than thoseattached to imported module? Dun Peal Python 10 05-03-2011 10:11 PM
Get __doc__ from main module in imported module. David Python 2 02-11-2010 02:32 AM
How can a module know the module that imported it? kj Python 9 11-12-2009 06:35 PM
"Variable ... is not imported..." using an imported variable from a module Volker Nicolai Perl Misc 9 07-04-2005 08:34 AM
Get importer module from imported module dody suria wijaya Python 5 02-08-2005 06:01 AM