- 博客(3)
- 收藏
- 关注
原创 python入门之列表
1、列表的表现形式最常用的列表,是用方括号标注,逗号分隔的一组值。>>> squares = [1, 4, 9, 16, 25]>>> squares[1, 4, 9, 16, 25]注:列表可以包含不同类型的元素2、列表索引>>> squares[0] # indexing returns the item1>>> squares[-1]253、列表切片>>> squares[-3:]
2022-04-02 14:36:28 802
原创 python入门之字符串
1、字符串表现形式单引号或是双引号形式>>> 'hello''hello'>>> "hello""hello"2、多行字符串三重引号,"""…""" 或 ‘’’…’’’""" hellopython"""3、字符串合并使用+号合并字符串>>> 'py' + 'thon''python'4、字符串重复使用*生成重复字符串>>> 3*'hello''hellohellohello'5、字符串自
2022-04-02 14:09:54 590
原创 curl获取教程(chrome)
curl获取教程(chrome)在chrome中,点击F12 ,调出开发者工具点击network根据需要选择格式进行过滤,如果不筛选就选择allname框选择你想要的接口,例如图中接口为判断登陆状态右键该接口,copy,copy as curl...
2021-07-27 11:47:42 260
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人