- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 字符串查找
C++字符串查找 对于一个给定的 source 字符串和一个 target 字符串,你应该在 source 字符串中找出 target 字符串出现的第一个位置(从0开始)。如果不存在,则返回 -1。 例如: 输入: source = "tartarget " target = "target " 输出 3 输入:source = “source” target = “target” 输出 1 ```cpp #include <iostream> #include <string&
2021-06-05 15:09:43
253
原创 使用Python爬取网页内容并保存
使用Python爬取网页内容并保存使用requests方法爬取 使用requests方法爬取 话不多说直接上 代码片. import urllib.request import requests url="https://www.bilibili.com/" #浏览器User-Agent的详细信息(可采用下面的进行爬虫伪装) 在OneNote计算机杂Pythonli headers={ "User-Agent":"Mozilla/5.0 (compatible; MSIE 9.0; Windows
2021-04-06 21:06:31
5494
安卓移动开发环境搭建
2019-03-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
1