Python
第二十一讲:爬虫实战
# -*- coding: utf-8 -*- # beautifulsoup from bs4 import BeautifulSoup import html import time import 阅读更多…
# -*- coding: utf-8 -*- # beautifulsoup from bs4 import BeautifulSoup import html import time import 阅读更多…
# -*- coding: utf-8 -*- # 正则表达式02 import re m = re.findall(“.”, “aa\nbbcc”) # . 是除了换行符之外所有的字符 # prin 阅读更多…
# -*- coding:utf-8 -*- # 正则表达式01 import re # 正则表达式包 m = re.findall(“abc”, “aaaaabcccabcc”) print(m) 阅读更多…
# -*- coding:utf=8 -*- # 二叉树的实现 # 二叉树的前序遍历 class Node(object): def __init__(self, index): self.index 阅读更多…