老师: while循环里 两个if 函数不是并列关系么? break在前面就可以运行,但是如果两个if颠倒位置就显示错误,错误为#float(a)不能为q
import json from fake_useragent import UserAgent from jsonpath import jsonpath import requests url = 'http://www.lagou.com/lbs/getAllCitySearchLabels.json' headers = {'User_Agent': UserAgent().edge} resp = requests.get(url,headers=headers) print(resp.text)
为什么打印的结果和视频不一样,视频中是json格式,我自己的是html格式
老师,这个怎么办呢
上一个webpack实战也是这个问题
不止一次遇到这个问题,这个bitLength到底是什么
老师,19行使用ReadLine()方法通过这一次循环能把文本里的数据都读出来吗(数据很多的话)
<size=18>请求失败<size>
app.config['TEMPLATES_AUTO_RELOAD']=True
自动加载是干什么
为什么不用前缀后缀就直接能跳转到index.html
为什么会出现这样的错误 我是按照视频讲的操作的
这样的算可以嘛,而且我还想问如果属性不止一个应该怎么写
static_folder='user_static',static_url_path='ustatic
static_folder和static_url_path是配套的吗?如果不加static_folder,static_url_path也不能加
类中的dispatch_request是什么时候用啊
屏幕截图 2024-08-02 000537.png
老师您好,在本节中输入“
yum install man-pages-zh-CN -y”命令后我也出现了
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; 未知的错误"
的错误,然后我看到问答里有提到可以采用ping网来解决,在我输入 ping baidu.com后入上图所示,等了10分钟还是没反应,这要怎么解决呢?
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637