考试内容

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了考试内容相关的知识,希望对你有一定的参考价值。

python第三方库requests,pymongo,bs4等用法总结

requests; 请求网站,网页
importrequests
help(requests
r = requests.get(‘https://www.baidu.com‘)

pymongo ; 连接数据库
数据库 : iaaf
use iaaf
show tables ------- athletes
db.athletes.find()
pymongo ; db = pymongo.MongoClient().iaaf
for i in db.athletes.find():
print i

bs4 ; from bs4 import BeautifulSoup 解析页面
html = r.content
soup = BeautifulSoup(html, ‘html.parser‘)
type(soup)
l=soup.find_all("a")for i in l:
print i.text
print i.get("href")

以上是关于考试内容的主要内容,如果未能解决你的问题,请参考以下文章

无纸化考试

微软认证考试

salesforce考试多少分过

剑桥英语五级考试介绍

杭州腾科华为HCIE考试流程

剑桥英语等级考试简介