[Tutor] generla import questions
Rob Brown-Bayliss
rob@zoism.org
Sat Apr 5 03:11:01 2003
hi, I have a question about import.
Say I have an app that does
import a
import b
import c
and some actual code.
And in module b I have
import c
Are there now two copies of c in memory, are does all the class data and
variables etc only exist once?
Or put hit this way, if module c is:
abc = "123"
and module a does c.abc = "1234" in some function, and module b then
prints c.abc what gets printed?
--
* Rob Brown-Bayliss
* =================
* zoism.org