Feb-17-2017, 07:17 AM
i set up a module with a class. outside the class i import a module and define a variable. in a method of the class in can use that module or object that was imported but not that variable that was assigned a value. ok, i understand there are no globals in classes. but then, how do the modules work in this situation? what if i do
from module_name import *
and assign a variable in that module?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.