定时获取最新ssr服务器的方法
摘要:用python3下载最新的ssr服务器地址: 2.py import urllib.request import sys import time timetag = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) print (timetag
阅读全文
posted @
2021-10-02 22:20
alantop
阅读(602)
推荐(0)
python3 求一个list的所有子集
摘要:python3 求一个list的所有子集 def PowerSetsBinary(items): N = len(items) for i in range(2 ** N):#子集的个数 combo = [] for j in range(N):#用来判断二进制数的下标为j的位置的数是否为1 if
阅读全文
posted @
2020-02-16 14:44
alantop
阅读(2298)
推荐(0)