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

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top