摘要:
https://www.jianshu.com/p/ddafe46827b7 阅读全文
posted @ 2020-02-21 12:02
眼镜儿
阅读(181)
评论(0)
推荐(0)
摘要:
切换到指定名字的目录,作为init文件,在别的文件中import该文件就可以完成切换目录 # 切换工作目录 import os current_path = os.getcwd() print(current_path) project_name = 'project' current_path = 阅读全文
posted @ 2020-02-21 11:53
眼镜儿
阅读(6647)
评论(0)
推荐(0)
摘要:
import hashlib import redis class SimpleHash(object): def __init__(self, cap, seed): self.cap = cap self.seed = seed def hash(self, value): ret = 0 fo 阅读全文
posted @ 2020-02-21 11:11
眼镜儿
阅读(199)
评论(0)
推荐(0)

浙公网安备 33010602011771号