擅长:python、mysql、java
<p>你想创建一个<a href="https://docs.python.org/2/tutorial/datastructures.html#dictionaries" rel="nofollow">dictionary</a>?如果是这样,应该用大括号<code>{ }</code>:</p>
<pre><code>scenes = {"central_corridor": CentralCorridor()}
</code></pre>
<p>方括号<code>[ ]</code>用于<a href="https://docs.python.org/2/tutorial/introduction.html#lists" rel="nofollow">lists</a>。在</p>