On Mar 12, 9:42 pm, "Andrew Rekdal" <[EMAIL PROTECTED]> wrote:
> I am working in the class constructor defining elements of an application.
> The problem is the file is getting unmanageble and I am wanting to extend the
> contructor __init__ to another file.
>
> Is it possible to import directly into the contructor the contents of another
> module file?
>
> If so how would this be done?
>
> Thanks -- andrew
class BigObject:
import my_module
def __init__(self):
self.my_module.do_this()
---------------------------------------
class BigObject(MyUtils):
def __init__(self):
self.things_from_utils()
--
http://mail.python.org/mailman/listinfo/python-list