TGTGInsighttelegram intelligenceLIVE / telegram public index
← AutoTaskScript

TGINSIGHT SIMILAR POSTS

查找相似内容

Source channel @autotaskscript · Post #88 · 8月16日

#稀土掘金 适配新版完了,url 多了个验证,所以要多抓一个 打开 F12,手动签到完之后,找到 https://api.juejin.cn/growth_api/v1/check_in 然后获取 url 的 uuid=123456&spider=0&msToken=xxxxxx&a_bogus=xxxxxx 填写示例: export JUEJIN_COOKIE='xxxxx#uuid=123456&spider=0&msToken=xxxxxx&a_bogus=xxxxxx' 用 # 分开

Results

找到 1 条相似帖子

搜索 #interpolation

当前筛选 #interpolation清除筛选
djangoproject

@djangoproject · Post #435 · 2017/09/07 13:47

https://www.python.org/dev/peps/pep-0498/ #Interpolation # Python supports multiple ways to format text strings. # These include %-formatting, # str.format(), # and string.Template # The !s, !r, and !a conversions are not strictly required. # Because arbitrary expressions are allowed inside the #f_strings, # this code: »> a = 'some string' »> f'{a!r}' "'some string'" Is identical to: »> f'{repr(a)}' "'some string'" Similarly, !s can be replaced by calls to #str() and !a by calls to #ascii().