[Tutor] Help me to debug this script .. I tried but ....
Dustin J. Mitchell
dustin at v.igoro.us
Sun Nov 5 16:42:54 CET 2006
Asrarahmed Kadri wrote:
> line 310, in RunScript
> exec codeObject in __main__.__dict__
> File "C:\project stuff-programs\Scriptdate.py", line 18, in ?
> t1 = my_version_datecheck.dateCheck(dt1,0)
> File "my_version_datecheck.py", line 38, in dateCheck
> import traceback
> NameError: global name 'traceback' is not defined
This tells you everything you need to know right here.
What version of Python are you using? I know traceback existed at least in
2.3. Might be time to consider an upgrade.
More information about the Tutor