I have a python file named "parameters.py" within this:
good = '100'
bad = '110'
ok = '120'
I want to import this file, and to find the key name by it's value.
something like:
import parameters
for k, v in parameters.iteritems():
if v == '110':
print str(k)
this not really works (method has no member iteritems...)
thanks for helpers!