How to Detect Use of Unassigned(Undefined) Variable(Function)

++imanshu himanshu.garg at
Fri Nov 27 11:36:45 CET 2009

    Is there a script/module to detect the use of unassigned
(undefined) variables(functions) in python. e.g. can I detect the
problem on line 3 automatically :-

i = 1
if i == 3:
    print o
print i

Thank You,

More information about the Python-list mailing list