会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
沉默的小羊羔
2019年3月21日
python制作验证码
摘要: from PIL import Image, ImageFont, ImageDraw, ImageFilterfrom random import choice, randint# 随即配置颜色def rand_color(): return (randint(128, 255), randint
阅读全文
posted @ 2019-03-21 20:28 沉默的小羊羔
阅读(698)
评论(0)
推荐(0)
列表内数字组合最大值
摘要: 第一种import itertoolslt = [4, 40, 45, 6, 9, 3, 5, 2, 8]lt2 = map(str, lt)it = itertools.permutations(lt2,len(lt))# for i in it: # print(i)m = map(lambda
阅读全文
posted @ 2019-03-21 17:15 沉默的小羊羔
阅读(277)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告