
Python
AE86上山啦
这个作者很懒,什么都没留下…
展开
-
Python——numpy中的tile()
格式:tile(A,reps)功能:将A重复reps次例如>>> from numpy import*>>> a = tile(5,3) #将5重复3次>>> print(a)[5 5 5]>>> b = tile(5,(3,2)) #将5在行方向重复3次,列方向重复2次>>>原创 2018-07-26 10:17:30 · 234 阅读 · 0 评论 -
【已解决】Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level
转自:在路上 » 【已解决】Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level【问题】 一个python脚本,本来都运行好好的,然后写了几行代码,而且也都确保每行都对齐了,但是运行的时候,却出现语法错误: IndentationError: unindent does ...转载 2018-07-26 18:00:14 · 2635 阅读 · 0 评论