摘要:
[str(i)+'闰年' for i in range(2000,2100) if i%4 ==0 and i%100 !=0] 阅读全文
摘要:
#coding:utf-8 ''' Created on 2017年10月25日 @author: li.liu ''' import pymysql db=pymysql.connect('localhost','root','root','test',charset='utf8') m=db.cursor() ''' try: #a=raw_input('请输入sql语句'+'\... 阅读全文
摘要:
#coding:utf-8 ''' Created on 2017��9��6�� @author: li.liu ''' from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains import os import time import re url=... 阅读全文
摘要:
#coding:utf-8 ''' Created on 2017年10月9日 @author: li.liu ''' from selenium import webdriver from lxml import etree import urllib import urllib2 import time #url='http://www.woyihome.com' url='http:/... 阅读全文
摘要:
#coding:utf-8 ''' @author: li.liu ''' from selenium import webdriver from selenium.webdriver.common.action_chains import ActionBuilder, ActionChains from lxml import etree import urllib import time i... 阅读全文
摘要:
#coding:utf-8 from selenium import webdriver import time url ='http://www.baidu.com' driver = webdriver.Chrome() driver.get(url) time.sleep(1) e=driver.find_element_by_xpath('//*[@id="lg"]/img') prin... 阅读全文
摘要:
#coding:utf-8 ''' Created on 2017年11月2日 @author: li.liu ''' import urllib import urllib2 import re for i in range(1,60): try: d={'shopId':'','page':'1'} d['shopId']=str(i) ... 阅读全文
摘要:
返回请求码判断 阅读全文
摘要:
输出 阅读全文