- 博客(3)
- 收藏
- 关注
原创 python 百度智能完善拆分识别收货人地址
from aip import AipNlp """ 百度 智能识别地址 """ def address(addr = ''): """ 你的 APPID AK SK """ APP_ID = '26030075' API_KEY = 'hdu8HVUqeGtpdiIF5ljH5ZPn' SECRET_KEY = 'MgMmCTmGiNwT2B56hzURAe3LGoYCr1wa ' client = AipNlp(APP_ID, API_KEY, SECRET_.
2022-04-22 17:14:23
1516
原创 python 设定程序执行超时后跳过
import time import eventlet #导入eventlet这个模块 eventlet.monkey_patch() #必须加这条代码 with eventlet.Timeout(2,False): #设置超时时间为2秒 print '这条语句正常执行' time.sleep(4) print '没有跳过这条输出' print '跳过了输出' ...
2022-04-22 16:43:31
1626
原创 js隐藏手机中间4位号秒
1、使用substr的字符串截取功能。 var str='13511115678'; var str2 = str.substr(0,3)+"****"+str.substr(7); alert(str2); 2、方法二使用正则替换var phone='13511115678'; var dh=phone.replace(/(\d{3})\d{4}(\d
2017-09-27 08:39:34
6431
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅