Python Equivalents of field.getInt(obj)
<p>I'm wondering how is the python equivalent of this code:</p>

<pre><code>Object owner;
Object target
String fieldname;
Field field = owner.getClass().getField(fieldname);
int i = field.getInt(target);
</code></pre>

<p>Thanks</p>
