摘要: ls -l |grep "^-"|wc -l 阅读全文
posted @ 2017-11-23 23:02 xqnq2007 阅读(205) 评论(0) 推荐(0)
摘要: #coding:utf-8 from selenium import webdriver url = "http://demo.testfire.net" chrome_options = webdriver.ChromeOptions() chrome_options.add_argument('--headless') chrome_options.add_argument('--disa... 阅读全文
posted @ 2017-11-23 18:12 xqnq2007 阅读(503) 评论(0) 推荐(0)
摘要: ^\s*\n -> '' 正则去除注释 #.*? -> '' 阅读全文
posted @ 2017-11-23 17:36 xqnq2007 阅读(887) 评论(0) 推荐(0)