Re[5]: Get importer module from imported module

Re[5]: Get importer module from imported module

Post by dody suria » Wed, 09 Feb 2005 15:01:52


dsw> New problem though. On line:
dsw> newclass = new.classobj(classname + '_' + food, (mixin, main), {})
dsw> received "TypeError: metaclass conflict: the metaclass of a
dsw> derived class must be a (non-strict) subclass of the
dsw> metaclasses of all its bases".

Oops, goofed up on me. The above "main" had mistakenly
pointed to the module. main.Main did the trick.

-- dsw
 
 
 

1. Why 'import module' will not import module.py but the directory module?

2. Supply Mini-Com Coupler Modules ,Mini-com Coupler Modules,Panduit Mini-com Coupler Module,Panduit Minicom Modules,Panduit Mini-Com Module,Panduit Mini-com Fiber Optic Adapter Modules

Original:China
Supply Mini-Com Coupler Modules ,Mini-com Coupler Modules,Panduit
Mini-com Coupler Module,Panduit Minicom Modules,Panduit Mini-Com
Module,Panduit Mini-com Fiber Optic Adapter Modules

Mini-Com TX6 Plus Jack Module TP Series,Mini-Com Coupler Modules
,Mini-com Coupler Modules,Panduit Mini-com Coupler Module,Panduit
Minicom Modules,Panduit Mini-Com Module,Panduit Mini-com Fiber Optic
Adapter Modules,Panduit Mini-Com ST Fiber Optic Adapter Modules,Panduit
Mini-Com SC Fiber Optic Adapter Modules,Panduit Mini-Com FC Fiber Optic
Adapter Modules,Panduit Mini-Com Surface Mount Boxes,Fiber Optic
Surface Mount Boxes,Fiber Surface Mounted Boxes
Surface mount box accepts four Mini-Com modules.

See More Details at the Link:

http://www.yqcomputer.com/

http://www.yqcomputer.com/



Category 5e, RJ45, 8 position, 8 wire universal coupler module.
Features:
Designed to exceed performance requirements of the TIA/EIA-568-B.2
Category 5e and ISO 11801 2nd Edition Class D channel standards
RJ45 8 position, 8 wire female to RJ45 8 position, 8 wire female pass
through module
No termination tool required
Accepts 6 and 8 position modular plugs without damage
Can be clearly identified with optional labels and icons
Not suitable for surface mount box applications

3. doubt with importing module, given module name

4. ERROR: Unable to import merge module <all modules>

5. import selected module variables within that module's procedures

6. How to import a module so that the current globals are available to the module?

7. How to import a module so that the current globals are available to the module?

8. Why can't I "from module import *" except at module level?

9. PythonWin: logging module not showing messages from imported modules

10. How can a module know the module that imported it?

11. How to import a module so that the current globals are available to the module?

12. Get __doc__ from main module in imported module.