摘要:
import osfirst_dir = os.listdir('D:\')list_i = []for i in first_dir: second_dir = os.listdir('D:\套'+'\\'+i) n = 1 for index,k in enumerate(second_dir) 阅读全文
摘要:
# -*- coding: utf-8 -*-# Define here the models for your scraped items## See documentation in:# https://doc.scrapy.org/en/latest/topics/items.htmlimpo 阅读全文
摘要:
import time lt = time.time() time.sleep(5) f = map(lambda x, y: x + y, [1, 2, 3, 4, 5, 6], [1, 2, 3, 4, 5, 6]) for i in f: print(i) nt = time.time() p 阅读全文
摘要:
class Node(): def __init__(self,item,pre=None,next=None): self.item = item self.next = next self.pre = pre class DoubleLinkList(): def __init__(self,n 阅读全文