kakajiejie

2022年7月22日

python无法import ssl和pip is configured with locations that require TLS/SSL问题解决方法

摘要: 问题描述:pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 问题原因:openssl版本过低或者Python编译安装时需要加上参数--wi 阅读全文

posted @ 2022-07-22 17:28 kakajiejie 阅读(395) 评论(0) 推荐(0)

2021年4月15日

Python函数

摘要: #写函数,计算传入的字符串中【数字】,【字母】,【空格】及【其他】的个数,并返回结果def func(a): dic = {'数字':0,'字母':0,'空格':0,'其他':0} for i in a: if i.isdigit(): dic['数字'] += 1 elif i.isalpha() 阅读全文

posted @ 2021-04-15 17:22 kakajiejie 阅读(72) 评论(0) 推荐(0)

2021年4月1日

Python

摘要: #账号注册登录 username = input("用户名:")password = input("密码:")with open('list_info',mode='w+',encoding='utf-8') as file: file.write('{}\n{}'.format(username, 阅读全文

posted @ 2021-04-01 13:37 kakajiejie 阅读(46) 评论(0) 推荐(0)

< 2025年7月 >
29 30 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31 1 2
3 4 5 6 7 8 9

导航

统计

点击右上角即可分享
微信分享提示