摘要:
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdr 阅读全文
posted @ 2020-10-15 21:23
遥月
阅读(770)
评论(0)
推荐(0)
摘要:
import urllib.parse url = 'http://www.baidu.com/index.html'; data = { 'name':'bowen', 'age':25, 'sex':'male', } lt = [] for k,v in data.items(): lt.ap 阅读全文
posted @ 2020-10-15 13:36
遥月
阅读(516)
评论(0)
推荐(0)
摘要:
1.用超集解决: with open("./zhaopin.csv","a",encoding="GB18030") as f: for i in s: f.write(i.text+"\r") 2. 查找相关资料: 1.str转bytes叫encode,bytes转str叫decode 2.字符就 阅读全文
posted @ 2020-10-15 13:27
遥月
阅读(123)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2020-10-15 13:26
遥月
阅读(104)
评论(0)
推荐(0)
摘要:
1.意思不同 \n的意思是换行符,\r的意思是回车符。 2.用法不同 在C语言中,语句结尾打上\n是转到下一行同一个位置,而\r是回到当前行的行首,如果同时打上\r\n就会来、转到下一行的行首。 3.系统标准不同 在Unix和Linix中,每行的结尾只有\n;而Windows系统中,每行结尾是\r\ 阅读全文
posted @ 2020-10-15 09:39
遥月
阅读(1376)
评论(0)
推荐(0)

浙公网安备 33010602011771号