擅长:python、mysql、java
<p>显示<code>static\\css\\reset.css</code>,因为“\\”表示“\”。如果使用此文件路径,它将被解释为“static\css\reset.css”。</p>
<p>作为交互shell中的签入</p>
<pre><code>>>> list('static\\css\\reset.css')
</code></pre>
<p>给出:</p>
<pre><code>['s', 't', 'a', 't', 'i', 'c', '\\', 'c', 's', 's', '\\', 'r', 'e', 's', 'e', 't', '.', 'c', 's', 's']
</code></pre>
<p>“\\”将显示为单个字符。</p>