立即注册 登录
气象家园 返回首页

tiantianyixin的个人空间 http://bbs.06climate.com/?11189 [收藏] [复制] [分享] [RSS]

留言板

facelist doodle涂鸦板

您需要登录后才可以留言 登录 | 立即注册


海蓝蓝 2022-3-28 00:00
http://bbs.06climate.com/forum.php?mod=viewthread&tid=88884&extra=page%3D1&page=1
python批量下载探空数据的程序,您提到“python3和Python2在套接字返回值解码上有区别。解决方法:content = html.partition(str.encode())[2],即可解决。”
我还是有些问题。改过之后,系统报错说 :运行时提示错误:f.write(mycontent)
TypeError: write() argument must be str, not bytes

这怎么会不是str呢?
古道 2020-6-6 16:31
你好,我看到你以前用python下载cimiss数据的帖子,和你遇到了同样的问题,ice unchecked!,请问你是怎么解决的呢

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

返回顶部