osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python3 - How do I import a class from another file


Python,

> which contradicts your previous statement.

I don't think so.

> "with" is "more stuff" it is the right way to deal with disposable 
> ressource in the first place.

Than you have missed the point altogether.  It isn't about what you think is 
the perfect way to deal with something, but how an instanciated class 
responds to an explicit "del" command.

Regards,
Rudy Wieser