摘要:
[str(i)+'闰年' for i in range(2000,2100) if i%4 ==0 and i%100 !=0] 阅读全文
posted @ 2017-12-18 22:58
LLSix
阅读(1522)
评论(0)
推荐(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语句'+'\... 阅读全文
posted @ 2017-12-18 16:03
LLSix
阅读(240)
评论(0)
推荐(0)
摘要:
#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=... 阅读全文
posted @ 2017-12-18 16:01
LLSix
阅读(366)
评论(0)
推荐(0)
摘要:
#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:/... 阅读全文
posted @ 2017-12-18 15:57
LLSix
阅读(4162)
评论(0)
推荐(0)
摘要:
#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... 阅读全文
posted @ 2017-12-18 15:50
LLSix
阅读(1580)
评论(0)
推荐(0)
摘要:
#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... 阅读全文
posted @ 2017-12-18 15:48
LLSix
阅读(2988)
评论(0)
推荐(0)
摘要:
#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) ... 阅读全文
posted @ 2017-12-18 15:31
LLSix
阅读(1912)
评论(0)
推荐(0)
摘要:
返回请求码判断 阅读全文
posted @ 2017-12-18 15:17
LLSix
阅读(778)
评论(0)
推荐(0)
摘要:
输出 阅读全文
posted @ 2017-12-18 15:09
LLSix
阅读(921)
评论(0)
推荐(0)

浙公网安备 33010602011771号