Creating a form from an object in python
<p>Ok.. I am a noob to Python but work with PHP a lot.</p>

<p>Basically I am trying to figure out how to take an object -- for example:</p>

<pre><code>{key:value,key:value}
</code></pre>

<p>or</p>

<pre><code>{key:[value,value,value],key2:value2}
</code></pre>

<p>and turn them into forms:</p>

<pre><code>&lt;input name="key" value="value"&gt;
&lt;input name="key" value="value"&gt;
</code></pre>

<p>and</p>

<pre><code>&lt;input name="key[]" value="value"&gt;
&lt;input name="key[]" value="value"&gt;
&lt;input name="key[]" value="value"&gt;
&lt;input name="key2" value="value2"&gt;
</code></pre>
