Can Python dictionaries to be as handy as PHP array?
<p>Recently, I'm working on a Python-based project and facing a issue with dictionaries. In PHP I can easily create a multiple dimension array by the following instruction:</p>

<pre><code>$user = "Tom";
$type = "New";
$userlist[$user]['count'] += 1;
$userlist[$user][$type] += 1;
</code></pre>

<p>PHP will create a new element within an array if it doesn't exist, which is very convenient for coding. Can Python dictionaries provide the same and handy function as PHP?</p>
