python三元表达式
作者:
戒灵 | 来源:发表于
2018-10-30 17:51 被阅读0次
try_times_dw = response.meta['try_times_dw']if 'try_times_dw' in response.meta else 0
表示如果存在 'try_times_dw' 就是当前值 如果没有过去到它 就是0
更多详情:[https://www.cnblogs.com/lucaq/p/7051237.html]
本文标题:python三元表达式
本文链接:https://www.haomeiwen.com/subject/iexntqtx.html
网友评论