2020年4月8日
posted @ 2020-04-08 15:38
现实不似你所见
阅读(1)
推荐(0)
摘要:
max_connections https://blog.51cto.com/liuqunying/1420556 mime.type default_type https://blog.csdn.net/qq_26711103/article/details/81116900
阅读全文
posted @ 2020-04-08 14:48
现实不似你所见
阅读(749)
推荐(0)
2020年4月5日
摘要:
索引 长度 for循环 user_info = {"name":3,"age":11,"country":"china"} print(user_info["country"]) print(len(user_info)) for k in user_info: print(k) china 3 n
阅读全文
posted @ 2020-04-05 14:49
现实不似你所见
阅读(127)
推荐(0)
摘要:
元祖和列表几乎是一样的 差别在于: 列表是可以修改的 元祖是不可以修改的 元祖不能进行增删改操作 索引 切片 len for循环 tu = ("a","b","c","d") print(tu[0]) print(tu[0:2]) print(len(tu)) for i in tu: print(
阅读全文
posted @ 2020-04-05 14:22
现实不似你所见
阅读(141)
推荐(0)
摘要:
索引 切片 len for循环 li = ["a","b","c","d"] print(li[0]) print(li[0:2]) print(len(li)) for i in li: print(i) a ['a', 'b'] 4 a b c d 其他方法 1,append li = ["a"
阅读全文
posted @ 2020-04-05 13:30
现实不似你所见
阅读(128)
推荐(0)
2020年4月4日
摘要:
1、索引 2、切片 3、分割 4、长度、 5、填充空白
阅读全文
posted @ 2020-04-04 21:49
现实不似你所见
阅读(86)
推荐(0)
摘要:
1,center() s1 = "wangs" s2 = s1.center(15,'*') print (s2) s3 = len(s2) print(s3) *****wangs***** 15 2、 count() s4 = "a is b are isaisa c" ll = len(s4)
阅读全文
posted @ 2020-04-04 21:38
现实不似你所见
阅读(151)
推荐(0)
2019年11月4日
摘要:
需要安装jdk 1、https://www.scala-lang.org/download/ 2、解压缩 ,配置环境变量 cd /usr/local/share tar -xzvf scala-2.13.1.tgz vi /etc/profile export PATH="$PATH:/usr/lo
阅读全文
posted @ 2019-11-04 10:51
现实不似你所见
阅读(86)
推荐(0)
2019年9月2日
posted @ 2019-09-02 15:03
现实不似你所见
阅读(3)
推荐(0)
2019年4月17日
posted @ 2019-04-17 21:43
现实不似你所见
阅读(1)
推荐(0)