240 发简信
IP属地:新疆
  • 请问下,我按照你的步骤做下去,在这一步:
    r = requests.get(url, verify=False)
    print(r.json())
    InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
    InsecureRequestWarning)
    这样的错误,就是强烈建议要验证证书,如果去掉verify=False,会出现一大堆错误。。。

    用Python写一个命令行火车票查看器

    当你想查询一下火车票信息的时候,你还在上12306官网吗?或是打开你手机里的APP?下面让我们来用Python写一个命令行版的火车票查看器, 只要在命令行敲一行命令就能获得你...