[Tutor] Class errors
jarod_v6 at libero.it
jarod_v6 at libero.it
Thu Jan 22 17:11:45 CET 2015
Dear All,
I created a class that invoke from another file another class
I get an error that I do not understand: gobal name Job is not defined
However If I see the class imported I found the class Job.
Any suggestion or example on class invoke another class
#job,py
class Jobs:
.....
#trial.py
from core.job import *
class Second:
def __initi__:
tp = open("/tmp/file.txt")
def gus(self):
tr = Job()
thanks so much!1
More information about the Tutor
mailing list