- 博客(2)
- 收藏
- 关注
原创 Requests 学习应用-行政区划代码获取
Requests 学习应用-行政区划代码获取 获取 这个网址的原始界面长这样) import requests as re url='http://www.mca.gov.cn/article/sj/xzqh/2020/2020/2020112010001.html'#民政部行政区划代码的页面 r=re.get(url) r.status_code print(r.text) ...
2021-04-15 15:45:06
186
原创 Python print 字符串(数字)格式输出
Python print 字符串(数字)格式输出 #Python print 字符串(数字)格式输出 怎么在python打印出类似“ 广州(10430.03)” // A code block print("%s%s%1.2f%s"%("广州","(",10430.03,")")) 输出为
2021-04-08 18:26:42
705
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅