load_module for loading packages

S

Sergey

Hi,

If I use load_module for loading module, I can instantiate classes, defined in that module. Is it possible to do the same, if load not a module, but package?

Python documentation for load_module contains description, that load_module can load a package. But I can not find examples, how to work with result of load_module, used for loading a package.

Regards,
Sergey
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top