- 博客(3)
- 收藏
- 关注
原创 Redis报错
Redis安装报错错误:Creating Server TCP listening socket *:6379: bind: No error解决方案:依次执行如下命令redis-cli.exeshutdownexitredis-server.exe redis.windows.conf
2021-05-23 19:12:05
232
原创 Python基础知识(二)
Python基础知识(二)数据类型转换&内置函数以及运算符string常见函数数据类型转换&内置函数以及运算符string常见函数join(seq)以指定的分隔符把seq中的元素合并成一个新字符串str1="hello"str1_new='‐'.join(str1)print(str1_new)list1=["a","b"]print(';'.join(list1))split()通过分隔符截取字符串str2="hello world hui zyrf"print
2021-05-21 17:31:54
68
原创 Python基础知识(一)
Python基础知识(一)Python数据类型number类型string数据类型tuple数据类型list数据类型dict数据类型Python数据类型Python3中有六个标准的数据类型不可变数据类型Number(数字) 、String(字符串)、Tuple(元组)可变数据类型List(列表)、Set(集合)、Dictionary(字典)获取数据类型 type(变量名)str1 = "asd"str2 = 5str3 = 2.5print(type(str1), type(st
2021-05-21 17:26:36
87
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人