Python爬虫日记之爬取淘宝商品数据
摘要:成功爬取淘宝商品数据 使用代码如下 # 声明第三方库/头文件 from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.common.b
阅读全文
Python笔记(更新中)
摘要:math函数 import math a = math.sin(1) print(a) 求根公式 a = 1 b = 9 c = 20 x1 = (-b + (b ** 2 - 4 * a * c) ** (1/2)) / (2 * a) x2 = (-b - math.sqrt(b ** 2 -
阅读全文