摘要:
获取当前文件父级路径 path = os.path.dirname(__file__) 添加当前文件至环境变量 import sys,os add_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path. 阅读全文
摘要:
浏览器相关 #coding=utf-8 from selenium.webdriver import Chrome from selenium import webdriver driver = webdriver.Firefox() # driver = webdriver.Chrome driv 阅读全文