with open ("mybaidu.html", mode = "w", encoding = "utf-8")这里面填一个encoding就好了
用requests库,要么自己解压。这个是压缩过的。