File m1.py :
x = 1 def y(): return 2 # ... Много переменных и функций ... How to make the class Foo contain everything that contains the module m1 ?
I tried this:
File m2.py :
import m1 class Foo(m1): pass But got an error:
TypeError: module.__init__() takes at most 2 arguments (3 given)