随笔分类 -  Python

python 网络爬虫全流程教学,从入门到实战(requests+bs4+存储文件)
摘要:python 网络爬虫全流程教学,从入门到实战(requests+bs4+存储文件) requests是一个Python第三方库,用于向URL地址发起请求 bs4 全名 BeautifulSoup4,是编写 python 爬虫常用库之一,主要用来解析 html 标签。 一、爬虫编写过程解析 1.1
371
0
0
Python 中集合的使用
摘要:Python 中集合的使用 集合中,只能存储不可变的数据类型,包括整形、浮点型、字符串、元组,无法存储列表、字典、 集合这些可变的数据类型 创建集合 set() a={1,2,3} #直接创建集合 b=set("ddddd") #将字符串转换为集合 c=set([1,2,3,4]) #将列表转换为集
132
0
0
Python 字典(键值对)
摘要:Python 字典(键值对) 创建字典 特性:字典中的键不能变,而且唯一 格式:变量名={”键1“:值1,”键2“:值2} 函数 作用 dict() 强制转换为字典 tup = (['two',26], ['one',88], ['three',100], ['four',-59]) dic = d
362
0
0
Python 元组的运用
摘要:Python 元组的运用 元组创建 格式1:元组名=() 格式2:元组名=("数据",) 元组函数 作用 tuple() 把数据转换为元组 访问元组 索引访问 #索引访问 a=(1,2,3,4) print(a[3]) #结果:4 #切片访问 t=[1,2,3,4,5,6] b=tuple(t) p
45
0
0
Python 列表的常见操作
摘要:Python 列表的常见操作 从形式上看,列表会将所有元素都放在一对中括号[ ]里面,相邻元素之间用逗号,分隔,如下所示: [element1, element2, element3, ..., elementn],元素类型和个数不限。 1、创建列表格式 变量名=[元素值1,元素值2.....] 变
79
0
0
python 序列常见使用方法
摘要:python 序列常见使用方法 概念:所谓序列,指的是一块可存放多个值的连续内存空间,这些值按一定顺序排列,可通过每个值所 在位置的编号(称为索引)访问它们 序列索引 1、索引从0开始 2、索引支持负数,如:-1 代表最后一个元素 格式: str="ABCD123" s=str[2] print(s
75
0
0
Python的输入输出
摘要:Python的输入输出 格式:r"字符串" 概念:当字符串里有转义字符时python也会识别为普通字符。 print(r"原始\n字符串") #不换行输出 print(r'''原始\t字符串''') #不空格输出 获取用户输入(input()) input() #获取用户输入字符串 a=int(in
103
0
0
点击右上角即可分享
微信分享提示
深色
回顶
展开
  1. 1 Welcome Home REOL
  2. 2 Everywhere We Go REOL
  3. 3 凄美地 REOL
  4. 4 最后一页 REOL
Welcome Home - REOL
00:00 / 00:00
An audio error has occurred, player will skip forward in 2 seconds.

作词 : Benjamin Cooper

作曲 : Benjamin Cooper

Sleep don't visit, so I choke on sun

And the days blur into one

And the backs of my eyes hum with things I've never done

Sheets are swaying from an old clothesline

[01:08.0]Like a row of captured ghosts over old dead grass

Was never much but we made the most

Was never much but we made the most

Welcome home

Ships are launching from my chest

Ships are launching from my chest

Some have names but most do not

Some have names but most do not

you find If one, please let me know what piece I've lost

Heal the scars from off my back

I don't need them anymore

I don't need them anymore

You can throw them out or keep them in your mason jars

I've come home

I've come home

All my nightmares escaped my head

All my nightmares escaped my head

Bar the door, please don't let them in

Bar the door, please don't let them in

You were never supposed to leave

You were never supposed to leave

Now my head's splitting at the seams

Now my head's splitting at the seams

And I don't know if I can

And I don't know if I can

Here, beneath my lungs

Here, beneath my lungs

I feel your thumbs press into my skin again