python换行语法错误
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换行语法错误的更多相关文章
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
python脚本没有对齐.新的Python语法,是不支持的代码对齐中,混用TAB和空格的.
- python的语法错误总结
1.keyerror一般是你使用字典里不存在的key产生的错误. 2.TypeError一般是使用的数据类型不符合要求 join函数要求a都是string
- python基础语法_10错误与异常
Python有两种错误很容易辨认:语法错误和异常. 语法错误 Python 的语法错误或者称之为解析错,是初学者经常碰到的,如下实例 异常 即便Python程序的语法是正确的,在运行它的时候,也有可能 ...
- Python学习_07_错误、异常
地毯式地过语法终于快要结束了... Python中的常见异常 1.NameError:尝试访问一个未初始化的变量 2. ZeroDivisionError:除数为0 3. SyntaxError:Py ...
- 转 Python3 错误和异常/ Python学习之错误调试和测试
########sample 0 https://www.cnblogs.com/Simon-xm/p/4073028.html except: #捕获所有异常 except: <异常名> ...
- python基础之错误、调试(异常处理)
在程序运行过程中,总会遇到各种各样的错误. 有的错误是程序编写有问题造成的,比如本来应该输出整数结果输出了字符串,这种错误我们通常称之为bug,bug是必须修复的. 有的错误是用户输入造成的,比如让用 ...
- Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level(转)
[问题] 一个python脚本,本来都运行好好的,然后写了几行代码,而且也都确保每行都对齐了,但是运行的时候,却出现语法错误: IndentationError: unindent does not ...
- 【亲测有效】Nodepad++/Sublime Text3中Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level解决策略
我在开发游戏的时候,发现一个python脚本,本来都运行好好的,然后写了几行代码,而且也都确保每行都对齐了,但是运行的时候,却出现语法错误: IndentationError: unindent do ...
- 【已解决】Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level
转自:http://www.crifan.com/python_syntax_error_indentationerror/comment-page-1/ [问题] 一个python脚本,本来都运行好 ...
随机推荐
- FFM及DeepFFM模型在推荐系统的探索及实践
12月20日至23日,全球人工智能与机器学习技术大会 AiCon 2018 在北京国际会议中心盛大举行,新浪微博AI Lab 的资深算法专家 张俊林@张俊林say 主持了大会的 搜索推荐与算法专题,并 ...
- 招中高级web开发工程师
>>招中高级web开发工程师
- java 线程间的通信 (wait / notify / notifyAll)
package waitnotifytest; import java.util.Collections; import java.util.List; import com.google.commo ...
- Elasticsearch集成HanLP分词器-个人学习
1.通过git下载分词器代码. 连接如下:https://gitee.com/hualongdata/hanlp-ext hanlp官网如下:http://hanlp.linrunsoft.com/ ...
- [k8s] flexvolume workflow
- Word Embedding/RNN/LSTM
Word Embedding Word Embedding是一种词的向量表示,比如,对于这样的"A B A C B F G"的一个序列,也许我们最后能得到:A对应的向量为[0.1 ...
- spring相关面试题
1.spring有依赖的bean,怎么加载? 2.spring怎么解决循环依赖? https://blog.csdn.net/u010853261/article/details/77940767 h ...
- sping加载bean都发生了些什么
问题描述:使用@Autowired注入的类,没有实例化 //Controller @RequestMapping(value="/deepblue") @Controller pu ...
- CentOS7单独安装Apache Bench压力测试工具
用于并发测试. 1.安装 # need to run ab,apache portable runtime yum install apr-util # yum install yum-utils # ...
- Maven项目:Malformed POM expected START_TAG or END_TAG ........
今天在执行maven命令 mvn assembly:assembly -Dmaven.test.skip=true的时候报了个错,大概是Malformed POM expected START_TAG ...