a ={
('住宅',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery4392669&page=1&limit=40&childrenCateId=12728&paimaiStatus=2&_=1524136833906'),
('商业',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery6982580&page=1&limit=40&childrenCateId=13809&paimaiStatus=2&_=1524187441176'),
('工业',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery3769558&page=1&limit=40&paimaiStatus=2&childrenCateId=13817&_=1524187543068'),
('其他用房',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery4296846&page=1&limit=40&paimaiStatus=2&childrenCateId=13810&_=1524187650295'),
('土地',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery9395886&page=1&limit=40&paimaiStatus=2&childrenCateId=12730&_=1524187793066')}

切忌不能写成如下:

a =
{('住宅',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery4392669&page=1&limit=40&childrenCateId=12728&paimaiStatus=2&_=1524136833906'),
('商业',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery6982580&page=1&limit=40&childrenCateId=13809&paimaiStatus=2&_=1524187441176'),
('工业',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery3769558&page=1&limit=40&paimaiStatus=2&childrenCateId=13817&_=1524187543068'),
('其他用房',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery4296846&page=1&limit=40&paimaiStatus=2&childrenCateId=13810&_=1524187650295'),
('土地',
'https://auction.jd.com/getJudicatureList.html?callback=jQuery9395886&page=1&limit=40&paimaiStatus=2&childrenCateId=12730&_=1524187793066')}

python换行语法错误的更多相关文章

  1. Python运行语法错误:IndentationError: unindent does not match any outer indentation level

    python脚本没有对齐.新的Python语法,是不支持的代码对齐中,混用TAB和空格的.

  2. python的语法错误总结

    1.keyerror一般是你使用字典里不存在的key产生的错误. 2.TypeError一般是使用的数据类型不符合要求 join函数要求a都是string

  3. python基础语法_10错误与异常

    Python有两种错误很容易辨认:语法错误和异常. 语法错误 Python 的语法错误或者称之为解析错,是初学者经常碰到的,如下实例 异常 即便Python程序的语法是正确的,在运行它的时候,也有可能 ...

  4. Python学习_07_错误、异常

    地毯式地过语法终于快要结束了... Python中的常见异常 1.NameError:尝试访问一个未初始化的变量 2. ZeroDivisionError:除数为0 3. SyntaxError:Py ...

  5. 转 Python3 错误和异常/ Python学习之错误调试和测试

    ########sample 0 https://www.cnblogs.com/Simon-xm/p/4073028.html except: #捕获所有异常 except: <异常名> ...

  6. python基础之错误、调试(异常处理)

    在程序运行过程中,总会遇到各种各样的错误. 有的错误是程序编写有问题造成的,比如本来应该输出整数结果输出了字符串,这种错误我们通常称之为bug,bug是必须修复的. 有的错误是用户输入造成的,比如让用 ...

  7. Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level(转)

    [问题] 一个python脚本,本来都运行好好的,然后写了几行代码,而且也都确保每行都对齐了,但是运行的时候,却出现语法错误: IndentationError: unindent does not ...

  8. 【亲测有效】Nodepad++/Sublime Text3中Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level解决策略

    我在开发游戏的时候,发现一个python脚本,本来都运行好好的,然后写了几行代码,而且也都确保每行都对齐了,但是运行的时候,却出现语法错误: IndentationError: unindent do ...

  9. 【已解决】Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level

    转自:http://www.crifan.com/python_syntax_error_indentationerror/comment-page-1/ [问题] 一个python脚本,本来都运行好 ...

随机推荐

  1. Tensorflow之Slim使用

    一些参考文档: 官方文档: TensorFlow-Slim image classification model library TensorFlow-Slim使用说明 TensorFlow-Slim ...

  2. 【问题与解决】Mac OS通过 npm 安装 React Native 报错(checkPermissions Missing write access to /usr/local/lib/node_modules)

    报错情况: 当Mac OS通过 npm 安装 React Native 报错,警告文字为:checkPermissions Missing write access to /usr/local/lib ...

  3. sqlite "insert or replace" 和 "insert or ignore" 用法

    insert or replace:如果不存在就插入,存在就更新insert or ignore:如果不存在就插入,存在就忽略只对UNIQUE约束的字段起作用.举例:建表:CREATE TABLE T ...

  4. Object 标签遮挡 Div 显示

    最近在使用 Object 时,就是播放视频的 Object 标签遮挡住其他 div 标签,不能正常显示. 出现这种现象的原因: object 标签不在 dom 文档流里面,浏览器在解析的时候先把 ob ...

  5. mybatis --- 如何相互转换逗号分隔的字符串和List

    如果程序员想实现某种功能,有两条路可以走.一条就是自己实现,一条就是调用别人的实现,别人的实现就是所谓的API.而且大多数情况下,好多“别人”都 实现了这个功能.程序员有不得不在这其中选择.大部分情况 ...

  6. java mqtt

    代码: package cc.gongchang.mqtt; import java.net.URISyntaxException; import org.fusesource.hawtdispatc ...

  7. Sublime Text3 运行 PHP 文件

    在 Zend Studio(12.5)下可以通过 Run(Ctrl + F11)把 PHP 程序的执行结果通过 Debug Output 显示在 IDE 中,这样比开启 Server,再打开浏览器执行 ...

  8. Navicat(数据库可视化操作软件)安装、配置、测试

    Navicat(数据库可视化操作软件)安装.配置.测试(win7_64bit) 目录 1.概述 2.本文用到的工具 3.Navicat安装.激活与配置 4.简单测试 5.注意事项 6.相关博文 > ...

  9. Linux Performance tool

    https://www.tecmint.com/command-line-tools-to-monitor-linux-performance/ https://www.tecmint.com/lin ...

  10. Spring-boot之 swagger2

    Swagger是一个简单但功能强大的API表达工具. 结合springboot 配置起来很简单,附上教程 :https://www.xncoding.com/2017/07/08/spring/sb- ...