摘要: import requests from bs4 import BeautifulSoup import bs4 def getHTMLText(url): try: r = requests.get(url, timeout=30) r.raise_for_status() r.encoding = r.apparent_encodi... 阅读全文
posted @ 2018-11-08 21:07 西柠58 阅读(126) 评论(0) 推荐(0) 编辑
摘要: InitList(&L) 构造一个空的线性表L DestroyList(&L) 销毁线性表L ClearList(&L) 将L重置为空表 ListEmpty(L) 若L为空表则返回TRUE,否则返回FALSE ListLength(L) 返回L中数据元素个数 GetElem(L,i,&e) 用e返回 阅读全文
posted @ 2018-11-08 11:00 西柠58 阅读(197) 评论(0) 推荐(0) 编辑