摘要:
阅读全文
摘要:
Amazon Dynamo论文中文版 原著: Werner Vogels 翻译: quest.run (翻译本文,旨在讨论NoSQL时会有一个共同的Terminology,对于要实现NoSQL方案的同学,建议啃啃原文,因为很多术语在翻译成中文后语义差异很大,如quorum, replica/repl 阅读全文
摘要:
阅读全文
摘要:
# -*- coding:utf-8 -*-#@Time : 2020/5/2 11:06#@Author: Aluosen#@File : Recurrence.py##进制转换def toStr(n,base): convertString = '0123456789ABCDEF' if n < 阅读全文
摘要:
# -*- coding:utf-8 -*-#@Time : 2020/5/2 0:01#@Author: Aluosen#@File : Linklist.py#节点Nodeclass Node: def __init__(self,initdata): self.data = initdata 阅读全文
摘要:
# -*- coding:utf-8 -*-#@Time : 2020/5/1 22:15#@Author: Aluosen#@File : Queue.py#队列的基本方法class Queue: def __init__(self): self.items = [] def isEmpty(se 阅读全文
摘要:
import jiebaimport wordcloudfrom imageio import imreadmask=imread('fivestar.png')def shuchu(): txt=open('threekingdoms.txt','r',encoding='gb18030').read() excludes={'将军','却说','荆州','二人','不可','不能'... 阅读全文
摘要:
import jiebaimport wordclouddef shuchu(): txt=open('threekingdoms.txt','r',encoding='gb18030').read() excludes={'将军','却说','荆州','二人','不可','不能','如此'} words=jieba.lcut(txt) counts={} for w... 阅读全文
摘要:
import jiebatxt=open('threekingdoms.txt','r',encoding='gb18030').read()excludes={'将军','却说','荆州','二人','不可','不能','如此'}words=jieba.lcut(txt)counts={}for word in words: if len(word)==1: continue elif word 阅读全文