[Tutor] Importing from classes

daaku gee daaqou at gmail.com
Wed Feb 11 03:39:50 CET 2015


Hi

When importing from other modules, I've seen syntax like:

import from <module> <Class>
import <module>

And another one:
import from <module> <Class> as <some_name>

Is one better than the other or is it just personal choice?

Thanks
\d


More information about the Tutor mailing list