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

++imanshu himanshu.garg at gmail.com
Fri Nov 27 05:36:45 EST 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,
++imanshu



More information about the Python-list mailing list