Python3 生成随机密码 代码实例
def generate_password():
import random
length = 64
seed = '1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
print(''.join(random.choice(seed) for _ in range(length)))
Python3 生成随机密码 代码实例
def generate_password():
import random
length = 64
seed = '1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
print(''.join(random.choice(seed) for _ in range(length)))
链接到文章: https://ixvps.com/46576.html