擅长:python、mysql、java
<p>只有<code>None</code>是<code>None</code>。我想你要找的是空的<code>list</code>,<code>dict</code>,和{<cd5>}的布尔值</p>
<p>例如:</p>
<pre><code>>>> if "":
... print 'woo'
... else:
... print 'hoo'
...
hoo
</code></pre>
<p><code>{}</code>和<code>[]</code>相同</p>