我看不到以下两行之间的显着差异。 然而,第一个解析,而后者,并没有。 In [5]: n=""" \\"Axis of Awesome\\" """
In [6]: n="""\\"Axis of Awesome\\""""
File "<ipython-input-6-d691e511a27b>", line 1
n="""\\"Axis of Awesome\\""""
当我开始我的Django服务器并键入一些网址的Django总是给我一个EOL错误: SyntaxError at /accounting/payments/
EOL while scanning string literal (urls.py, line 22)
Request Method: GET
Request URL: http://localhost:800