摘要: 如何去掉爬虫爬取内容中的\xa0 (html中的 ) 阅读全文
posted @ 2020-07-09 21:40 Blovice 阅读(5051) 评论(0) 推荐(1)
摘要: 今天同学们自建的一个python学习群发来一个问题,他想创建一个二维列表并且做如下赋值,代码如下: a = [['']*3] * 3for m in range(1, 4): for n in range(1, 4): a[m-1][n-1] = str(m * n) print('a[' + st 阅读全文
posted @ 2020-07-09 12:21 Blovice 阅读(140) 评论(0) 推荐(0)