commit b15dd20c0e6f228f1ebed0162a166b8942456e6f Author: mbinary Date: Sun Jul 8 16:41:55 2018 +0800 Add sort codes and notes diff --git a/README.md b/README.md new file mode 100644 index 0000000..7fa7e37 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# 算法笔记 +记录学习算法的一些笔记, 想法, 以及代码实现 :smiley: diff --git a/codes/dataStructure/8Astar.py b/codes/dataStructure/8Astar.py new file mode 100644 index 0000000..86bda4e --- /dev/null +++ b/codes/dataStructure/8Astar.py @@ -0,0 +1,100 @@ +isVisited = [0]*362880 # 0 for not visited,1 for occured,2 for visited +fac = [1,1,2,6,24,120,720,5040,40320] +lf = len(fac) +h = [[0,1,2,1,2,3,2,3,4], + [1,0,1,2,1,2,3,2,3], + [2,1,0,3,2,1,4,3,2], + [1,2,3,0,1,2,1,2,3], + [2,1,2,1,0,1,2,1,2], + [3,2,1,2,1,0,3,2,1], + [2,3,4,1,2,3,0,1,2], + [3,2,3,2,1,2,1,0,1], + [4,3,2,3,2,1,2,1,0]] + +def cantor(s): + sum = 0 + ls = len(s) + for i in range(ls): + count = 0 + for j in range(i+1,ls): + if s[i] > s[j]: count +=1 + sum += count*fac[lf-i-1] + return sum + +que = [] +dir = {-3:'u',1:'r',3:'d',-1:'l'} +class state: + flag = True + def __init__(self,s,x,f,step=0,last=0): + self.x = x + self.s = list(s) + self.step = step + self.path = [] + self.last = last + self.f = f + def can(self): + cans = [-1,1,3,-3] + if self.last in cans : + cans.remove(-self.last) + if self.x<3: + cans.remove(-3) + if self.x>5: + cans.remove(3) + if self.x%3 is 0: + cans.remove(-1) + if self.x%3 is 2: + cans.remove(1) + return cans + def move(self): + cans = self.can() + for i in cans: + s = list(self.s) + tmp = self.x + i + s[self.x] = s[tmp] + s[tmp] = '9' + ct = cantor(s) + if isVisited[ct] != 2 : + val = int(s[self.x]) + f = h[8][tmp] +h[val-1][self.x]-h[8][self.x]-h[val-1][tmp]+self.step+1 + new = state(s,tmp,f,self.step +1,i) + new.path = self.path + [dir[i]] + if isVisited[ct] == 1: + for i,node in enumerate(que): + if mew.s == node.s: + del que[i] + break + else:isVisited[ct] = 1 + if que == []: + que.append(new) + continue + for i,node in enumerate(que): + if new.f<=node.f: + que.insert(i,new) +def solvable(s): + reverse = 0 + for i in range(8): + if s[i] is '9':continue + for j in range(i+1,9): + if s[i]>s[j]:reverse +=1 + if reverse % 2 is 0:return True + else:return False +def getPath(s,index): + f = 0 + for i,j in enumerate(s): + f+=h[int(j)-1][i] + que.append(state(s,index,f,0,0)) + while que != []: + cur = que.pop(0) + ct = cantor(cur.s) + isVisited[ct] = 2 + if ct is 0: + return cur.path + cur.move() + +if __name__ == '__main__': + s=input() + index = s.find('x') + s =list(s) + s[index] = '9' + if solvable(s):print(''.join(getPath(s,index))) + else:print('unsolvable') diff --git a/codes/dataStructure/EIGHT.py b/codes/dataStructure/EIGHT.py new file mode 100644 index 0000000..e68b711 --- /dev/null +++ b/codes/dataStructure/EIGHT.py @@ -0,0 +1,61 @@ +from colectons import deque +isVisted = [0]*362880 +fac = [1,2,6,24,120,720,5040,40320] +lf = len(fac) +x= '9' +def cantor(s): + sum = 0 + ls = len(s) + for i in range(ls): + count = 0 + for j in range(i+1;ls): + if s[i] > s[j]: count +=1 + sum += count*fac[lf-i-1] + return sum + +que = deque() +class state: + def __init__(self,s,p,step=0,last=0): + self.x = p + self.s = list(s) + self.step = step + self.path = [] + self.last = last + def move(self): + dir = [-3:'u',1:'r',3:'d',-1:'l'] + if self.last in dir : + del dir[-self.last] + if self.x<3: + del dir[-3] + if self.x>5: + del dir[3] + if self.x%3 is 0: + del dir[-1] + if self.x%3 is 2: + del dir[1] + for i in dir.keys(): + s = list(self.s) + tmp = self.x + i + s[self.x] = s[tmp] + s[tmp] = x + if not isVisted[cantor(s)]: + new = state(s,tmp,self.step +1,i) + new.path = self.path + [dir[i]] + que.append(new) + +def getPath(s): + index = s.find('x') + s =list(s) + s[index] = '9' + que.append(state(s,index,0,0)) + while que != deque(): + cur = que.popleft() + ct = cantor(cur.s) + if ct is 362879: + return cur.path + isVisted[] = 1 + cur.move() + +if __name__ == '__main__': + s=input() + print(''.join(getPath(s))) diff --git a/codes/dataStructure/allOoneDS.py b/codes/dataStructure/allOoneDS.py new file mode 100644 index 0000000..242205a --- /dev/null +++ b/codes/dataStructure/allOoneDS.py @@ -0,0 +1,201 @@ +class node: + def __init__(self,val=None,data_mp=None,pre=None,next=None): + self.val=val + self.data_mp = {} if data_mp is None else data_mp + self.pre=pre + self.next=next + def __lt__(self,nd): + return self.valval or self.head.val==0:self.head= self.chain_mp[val] + def delNode(self,val): + self.chain_mp[val].next.pre = self.chain_mp[val].pre + self.chain_mp[val].pre.next = self.chain_mp[val].next + if self.tail.val==val:self.tail = self.chain_mp[val].pre + if self.head.val==val:self.head = self.chain_mp[val].next + del self.chain_mp[val] + def incTo(self,key,val): + if val not in self.chain_mp: + self.addNode(val) + self.chain_mp[val][key] = val + if val!=1 : # key in the pre node + del self.chain_mp[val-1][key] + #print(self.chain_mp[val-1]) + if self.chain_mp[val-1].isEmpty(): + #print('*'*20) + self.delNode(val-1) + def decTo(self,key,val): + if val not in self.chain_mp: + self.addNode(val,dec=True) + # notice that the headnode(0) shouldn't add key + if val!=0: self.chain_mp[val][key] = val + del self.chain_mp[val+1][key] + if self.chain_mp[val+1].isEmpty(): + self.delNode(val+1) + +class AllOne: + def __init__(self): + """ + Initialize your data structure here. + """ + self.op = {"inc":self.inc,"dec":self.dec,"getMaxKey":self.getMaxKey,"getMinKey":self.getMinKey} + self.mp = {} + self.dll = doubleLinkedList() + def __str__(self): + return str(self.dll) + def __getitem__(self,key): + return self.mp[key] + def __delitem__(self,key): + del self.mp[key] + def __setitem__(self,key,val): + self.mp[key]= val + def __iter__(self): + return iter(self.mp) + def inc(self, key,n=1): + """ + Inserts a new key with value 1. Or increments an existing key by 1. + :type key: str + :rtype: void + """ + if key in self: + self[key]+=n + else:self[key]=n + for i in range(n): self.dll.incTo(key, self[key]) + def dec(self, key,n=1): + """ + Decrements an existing key by 1. If Key's value is 1, remove it from the data structure. + :type key: str + :rtype: void + """ + if key in self.mp: + mn = min( self[key],n) + for i in range(mn): self.dll.decTo(key, self[key]-i-1) + if self[key] == n: + del self[key] + else: + self[key] = self[key]-n + def getMaxKey(self): + """ + Returns one of the keys with maximal value. + :rtype: str + """ + return self.dll.getMax() + + def getMinKey(self): + """ + Returns one of the keys with Minimal value. + :rtype: str + """ + return self.dll.getMin() + + + + +if __name__ == '__main__': + ops=["inc","inc","inc","inc","inc","dec","dec","getMaxKey","getMinKey"] + data=[["a"],["b"],["b"],["b"],["b"],["b"],["b"],[],[]] + obj = AllOne() + for op,datum in zip(ops,data): + print(obj.op[op](*datum)) + print(op,datum) + print(obj) + +''' +None +inc ['a'] +min:1, max:1 +node(0,{}) +node(1,{'a': 1}) +None +inc ['b'] +min:1, max:1 +node(0,{}) +node(1,{'a': 1, 'b': 1}) +None +inc ['b'] +min:1, max:2 +node(0,{}) +node(1,{'a': 1}) +node(2,{'b': 2}) +None +inc ['b'] +min:1, max:3 +node(0,{}) +node(1,{'a': 1}) +node(3,{'b': 3}) +None +inc ['b'] +min:1, max:4 +node(0,{}) +node(1,{'a': 1}) +node(4,{'b': 4}) +None +dec ['b'] +min:1, max:3 +node(0,{}) +node(1,{'a': 1}) +node(3,{'b': 3}) +None +dec ['b'] +min:1, max:2 +node(0,{}) +node(1,{'a': 1}) +node(2,{'b': 2}) +b +getMaxKey [] +min:1, max:2 +node(0,{}) +node(1,{'a': 1}) +node(2,{'b': 2}) +a +getMinKey [] +min:1, max:2 +node(0,{}) +node(1,{'a': 1}) +node(2,{'b': 2}) +''' diff --git a/codes/dataStructure/binaryHeap.py b/codes/dataStructure/binaryHeap.py new file mode 100644 index 0000000..3d792e9 --- /dev/null +++ b/codes/dataStructure/binaryHeap.py @@ -0,0 +1,126 @@ + +from collections import Iterable +class node: + def __init__(self,val,freq=1): + self.val=val + self.freq = freq + def __eq__(self,a): + return self.val == a.val + def __lt__(self,a): + return self.vala.val + def __ge__(self,a): + return self.val>=a.val + def __ne__(self,a): + return not self == a +class binaryHeap: + def __init__(self,s=None,sortByFrequency = False,reverse=False): + self.sortByFrequency=sortByFrequency + self.reverse = reverse + self.data = [node(0)] # make index begin with 1 + if s==None:return + if not isinstance(s,Iterable):s = [s] + for i in s: + self.insert(i) + def __bool__(self): + return len(self)!=1 + def _cmp(self,a,b): + if self.sortByFrequency: + if self.reverse:return a.freq>b.freq + else:return a.freqb + else:return a=2*i+1: + if self._cmp(self.data[i*2],self.data[2*i+1]): + self.data[i] = self.data[2*i] + i = 2*i + else: + self.data[i] = self.data[2*i+1] + i = 2*i+1 + self.data[i] = tmp + return i + def __len__(self): + return self.data[0].val + def Nth(self,n=1): + tmp = [] + for i in range(n): + tmp.append(self.deleteTop()) + for i in tmp: + self.insert(i) + return tmp[-1] + def display(self): + val =self.data[0].val+1 + if self.sortByFrequency: + info='heapSort by Frequency:' + else:info = 'heapSort by Value:' + if self.reverse: + info +=' From big to small' + else:info +=' From small to big' + print('*'*15) + print(info) + print('total items:%d\nval\tfreq'%(val-1)) + fmt = '{}\t{}' + for i in range(1,val): + print(fmt.format(self.data[i].val,self.data[i].freq)) + print('*'*15) +class Test: + def topKFrequent(self, words, k): + hp = binaryHeap(sortByFrequency = True,reverse=True) + for i in words: + hp.insert(i) + hp.display() + n = len(hp) + mp = {} + while hp: + top = hp.deleteTop() + if top.freq in mp: + mp[top.freq].append(top.val) + else: + mp[top.freq] = [top.val] + for i in mp: + mp[i].sort() + key = sorted(mp.keys(),reverse = True) + rst = [] + count = 0 + for i in key: + for j in mp[i]: + rst.append(j) + count+=1 + if count == k:return rst +if __name__ == '__main__': + s=["plpaboutit","jnoqzdute","sfvkdqf","mjc","nkpllqzjzp","foqqenbey","ssnanizsav","nkpllqzjzp","sfvkdqf","isnjmy","pnqsz","hhqpvvt","fvvdtpnzx","jkqonvenhx","cyxwlef","hhqpvvt","fvvdtpnzx","plpaboutit","sfvkdqf","mjc","fvvdtpnzx","bwumsj","foqqenbey","isnjmy","nkpllqzjzp","hhqpvvt","foqqenbey","fvvdtpnzx","bwumsj","hhqpvvt","fvvdtpnzx","jkqonvenhx","jnoqzdute","foqqenbey","jnoqzdute","foqqenbey","hhqpvvt","ssnanizsav","mjc","foqqenbey","bwumsj","ssnanizsav","fvvdtpnzx","nkpllqzjzp","jkqonvenhx","hhqpvvt","mjc","isnjmy","bwumsj","pnqsz","hhqpvvt","nkpllqzjzp","jnoqzdute","pnqsz","nkpllqzjzp","jnoqzdute","foqqenbey","nkpllqzjzp","hhqpvvt","fvvdtpnzx","plpaboutit","jnoqzdute","sfvkdqf","fvvdtpnzx","jkqonvenhx","jnoqzdute","nkpllqzjzp","jnoqzdute","fvvdtpnzx","jkqonvenhx","hhqpvvt","isnjmy","jkqonvenhx","ssnanizsav","jnoqzdute","jkqonvenhx","fvvdtpnzx","hhqpvvt","bwumsj","nkpllqzjzp","bwumsj","jkqonvenhx","jnoqzdute","pnqsz","foqqenbey","sfvkdqf","sfvkdqf"] + test = Test() + print(test.topKFrequent(s,5)) diff --git a/codes/dataStructure/binaryIndexedTree.cc b/codes/dataStructure/binaryIndexedTree.cc new file mode 100644 index 0000000..066643d --- /dev/null +++ b/codes/dataStructure/binaryIndexedTree.cc @@ -0,0 +1,46 @@ +class bit +{ + int n; + int *p; +public: + bit(int *,int); + ~bit(); + int init(int,int,bool); + int getSum(int a,int b){return getSum(a)-getSum(b)}; + int getSum(int); + void update(int,int); +}; +bit::bit(int *a,int j) +{ + p=new int[j+1]; + n=j; + for (int i=0;inewNode: + if nd.left is None:nd.left = newNode + else : _add(nd.left,newNode) + else:nd.freq +=1 + _add(self.root,node(val)) + def find(self,val): + prt= self._findPrt(self.root,node(val),None) + if prt.left and prt.left.val==val: + return prt.left + elif prt.right and prt.right.val==val:return prt.right + else :return None + def _findPrt(self,nd,tgt,prt): + if nd==tgt or nd is None:return prt + elif nd +#include +using namespace std; +int main() +{ + float f; + while(cin.peek()!='E'){ + cin>>f; + getchar(); + bool flag=true; + for(int i=0;i<50&&(f-0.0000001)>0;++i){ + int t=3*f; + f=3*f-t; + cout<tmp: + ds[tgt]=tmp + last[tgt] = nd + if not tgt.isVisited:q.append(tgt) + ''' + cur = u + while cur !=v: + print(str(cur)+'<---',end='') + cur =last[cur] + print(str(v)) + ''' + return ds[u] + def hasCircle(self): + pass + def display(self): + print('vertexs') + for i in self.vertexs: + print(i) + print('edges') + for i in self.edges: + arc=self.edges[i] + print(str(arc.v)+str(arc)+str(arc.u)) + +if __name__=='__main__': + n=int(input()) + while n>0: + cities=int(input()) + n-=1 + g=graph() + li={} + for i in range(cities): + li[input()]=i+1 + arc=int(input()) + for j in range(arc): + s=input().split(' ') + g.addEdge(i+1,int(s[0]),int(s[1])) + ct =int(input()) + for i in range(ct): + line = input() + line= line .split(' ') + v,u = li[line[0]],li[line[1]] + print(g.minPath(v,u)) + g.revisit() +#http://www.spoj.com/submit/SHPATH/id=20525991 +''' +1 +4 +gdansk +2 +2 1 +3 3 +bydgoszcz +3 +1 1 +3 1 +4 4 +torun +3 +1 3 +2 1 +4 1 +warszawa +2 +2 4 +3 1 +2 +gdansk warszawa +bydgoszcz warszawa +V4<---V3<---V2<---V1 +3 +V4<---V3<---V2 +2 +>>> +''' diff --git a/codes/dataStructure/graph/directed.py b/codes/dataStructure/graph/directed.py new file mode 100644 index 0000000..a2ae10e --- /dev/null +++ b/codes/dataStructure/graph/directed.py @@ -0,0 +1,236 @@ +from collections import Iterable,deque +class vertex: + def __init__(self,mark,val=None ,firstEdge = None): + self.mark = mark + self.val = val + self.firstEdge = firstEdge + self.isVisited = False + def __str__(self): + if '0'<=self.mark[0]<='9':return 'v'+str(self.mark) + return str(self.mark) + def __repr__(self): + li=[] + arc= self.firstEdge + while arc!=None: + li.append(arc) + arc= arc.outNextEdge + return str(self)+ ' to:'+str([str(i.inArrow) for i in li]) +class edge: + def __init__(self,outArrow,inArrow,outNextEdge = None,inNextEdge = None, weight = 1): + self.weight = weight + self.inNextEdge = inNextEdge + self.outNextEdge = outNextEdge + self.outArrow = outArrow + self.inArrow=inArrow + self.isVisited = False + def __str__(self): + return '--'+str(self.weight)+'-->' + def __repr__(self): + return str(self) +class graph: + def __init__(self): + self.vertexs = {} + self.edges = {} + def __getitem__(self,i): + return self.vertexs[i] + def __setitem__(selfi,x): + self.vertexs[i]= x + def __iter__(self): + return iter(self.vertexs.values()) + def __bool__(self): + return len(self.vertexs)!=0 + def addVertex(self,vertexs): + '''vertexs is a iterable or just a mark that marks the vertex,whichc can be every imutable type''' + if not isinstance(vertexs,Iterable):vertexs=[vertexs] + for i in vertexs: + if not isinstance(i,vertex) and i not in self.vertexs:self.vertexs[i]= vertex(i) + if isinstance(i,vertex) and i not in self.vertexs:self.vertexs[i.mark]= i + def isConnected(self,v,u): + v = self.__getVertex(v) + u = self.__getVertex(u) + arc= v.firstEdge + while arc!=None: + if arc.inArrow==u:return True + arc = arc.inNextEdge + return False + def __getVertex(self,v): + if not isinstance(v,vertex): + if v not in self.vertexs: + self.vertexs[v]=vertex(v) + return self.vertexs[v] + return v + def addEdge(self,v,u,weight = 1): + v = self.__getVertex(v) + u = self.__getVertex(u) + arc = v.firstEdge + while arc!=None: #examine that if v,u have been already connected + if arc.inArrow==u: return + arc= arc.outNextEdge + newEdge = edge(v,u,v.firstEdge,u.firstEdge,weight) + self.edges[(v.mark,u.mark)] = newEdge + v.firstEdge = newEdge + def delEdge(self,v,u): + if not isinstance(v,vertex):v= self.vertexs[v] + if not isinstance(u,vertex):u= self.vertexs[u] + self._unrelated(v,u) + del self.edges[(v.mark,u.mark)] + def _unrelated(self,v,u): + if v.firstEdge==None:return + if v.firstEdge.inArrow == u: + v.firstEdge =v.firstEdge.outNextEdge + else: + arc = v.firstEdge + while arc.outNextEdge!=None: + if arc.outNextEdge.inArrow ==u: + arc.outNextEdge = arc.outNextEdge.outNextEdge + break + def revisit(self): + for i in self.vertexs: + self.vertexs[i].isVisited=False + for i in self.edges: + self.edges[i].isVisited=False + def __str__(self): + arcs= list(self.edges.keys()) + arcs=[str(i[0])+'--->'+str(i[1])+' weight:'+str(self.edges[i].weight) for i in arcs] + s= '\n'.join(arcs) + return s + def __repr__(self): + return str(self) + def notIn(self,v): + if (isinstance(v,vertex) and v.mark not in self.vertexs) or v not in self.vertexs: + return True + return False + def visitPath(self,v,u): + '''bfs''' + if self.notIn(v) or self.notIn(u): + return None,None + v = self.__getVertex(v) + u = self.__getVertex(u) + if v.firstEdge==None:return None,None + q=deque([v.firstEdge]) + isFind=False + vs,es=[],[] + while len(q)!=0: + vs,es=[],[] + arc= q.popleft() + if arc.outNextEdge!=None and not arc.outNextEdge.isVisited:q.append(arc.outNextEdge) + while arc!=None: + if arc.isVisited:break + arc.isVisited=True + es.append(arc) + vs.append(arc.inArrow) + arc.outArrow.isVisited=True + if arc.inArrow==u: + isFind=True + break + arc = arc.inArrow.firstEdge + # very important , avoid circle travel + while arc.inArrow.isVisited and arc.outNextEdge:arc = arc.outNextEdge + if isFind:break + else:return None,None + ''' + se = [str(i) for i in es] + sv = [str(i) for i in vs] + print(str(v),end='') + for i,j in zip(se,sv): + print(i,j,end='') + ''' + return vs,es + def hasVertex(self,mark): + return mark in self.vertexs + def display(self): + print('vertexs') + for i in self.vertexs: + print(self.vertexs[i].__repr__()) + print('edges') + for i in self.edges: + arc=self.edges[i] + print(str(arc.outArrow)+str(arc)+str(arc.inArrow)) + +class Solution(object): + def calcEquation(self, equations, values, queries): + """ + :type equations: List[List[str]] + :type values: List[float] + :type queries: List[List[str]] + :rtype: List[float] + """ + rst =[] + g= graph() + for edge,wt in zip(equations,values): + g.addEdge(edge[0],edge[1],wt) + g.addEdge(edge[1],edge[0],1/wt)###### to serach quickly but sacrifacing some space + g.display() + for i in queries: + if i[0]==i[1]: + if i[0] in g.vertexs:rst.append(1.0) + else:rst.append(-1.0) + continue + _,path = g.visitPath(i[0],i[1]) + if path==None: + if not path:rst.append(-1.0) + else: + mul = 1 + for i in path:mul*=i.weight + rst.append(mul) + g.revisit() + return rst + + +if __name__=='__main__': + equations = [["a","b"],["e","f"],["b","e"]] + values = [3.4,1.4,2.3] + queries = [["b","a"],["a","f"],["f","f"],["e","e"],["c","c"],["a","c"],["f","e"]] + sol = Solution() + ret=sol.calcEquation( equations, values, queries) + print(ret) + + ''' + [0.29411764705882354, 10.947999999999999, 1.0, 1.0, -1.0, -1.0, 0.7142857142857143] + ''' + + + ''' + equations = [ ["a", "b"], ["b", "c"] ] + values = [2.0, 3.0] + queries = [ ["a", "c"], ["b", "a"], ["a", "e"], ["a", "a"], ["x", "x"] ] + sol = Solution() + ret=sol.calcEquation( equations, values, queries) + print(ret) + ''' + + ''' + [6.0, 0.5, -1.0, -1.0, -1.0] + ''' + + ''' + g = graph() + g.addEdge(1,2) + g.addEdge(2,1) + g.addEdge(3,1) + g.addEdge(1,4) + g.addEdge(3,2) + g.addEdge(2,4) + g.addVertex(6) + g.addEdge(4,6) + g.delEdge(1,2) + g.display() + g.visitPath(3,6) + + ''' + ''' + vertexs + v1 to:['v4'] + v2 to:['v4', 'v1'] + v3 to:['v2', 'v1'] + v4 to:['v6'] + v6 to:[] + edges + v2--1-->v1 + v3--1-->v1 + v1--1-->v4 + v3--1-->v2 + v2--1-->v4 + v4--1-->v6 + >>> + ''' diff --git a/codes/dataStructure/graph/graph.cc b/codes/dataStructure/graph/graph.cc new file mode 100644 index 0000000..f1d9b4e --- /dev/null +++ b/codes/dataStructure/graph/graph.cc @@ -0,0 +1,173 @@ +#include +#include +#include +#include +bool LOG=false; + +using namespace std; + +class edge; +class vertex +{ + friend ostream &operator<<(ostream&,const vertex *); + friend ostream &operator<<(ostream&,const edge *); + friend class graph; + friend class edge; +public: + vertex(int n,edge* arc = NULL):val(n),firstEdge(arc){isVisited=false;} + ~vertex(){if(LOG)cout<<"V"< vs; + vector es; + bool weighted; + bool directed; +public: + graph():vNum(0),eNum(0),weighted(false),directed(false){} + graph(int ,int,bool,bool); + ~graph(); + void getData(); + void display(); + int minPath(int , int ); + void reVisitVertex(){for (int i=0;iisVisited=false ) ;} + void reVisitEdge(){for (int i=0;iisVisited=false ) ;} +}; +graph::graph(int n,int m,bool weighted,bool directed)\ + :vNum(n),eNum(m),weighted(weighted),directed(directed) +{ + cin.ignore(1); + for (int i=0;i>a >>b; + --a,--b; + if(weighted)cin>>w; + edge *arc=new edge (vs[a],vs[b],w,vs[a]->firstEdge); + vs[a]->firstEdge = arc; + es.push_back(arc); + } +} +ostream& operator<<(ostream& os,const vertex* v) +{ + os<<"V"<val+1<<" -->"; + edge *arc= v->firstEdge; + while(arc){ + os<<" V"<in->val+1; + arc=arc->nextEdge; + } + return os; +} +ostream& operator<<(ostream& os,const edge* e) +{ + os<<"V"<out->val+1<<"--"<weight<<"-->"<in->val+1; + return os; +} +graph::~graph() +{ + for (int i=0;ifirstEdge; + while(arc){ + edge *p=arc; + arc=arc->nextEdge; + delete p; + } + delete vs[i]; + } +} +void graph::display() +{ + cout<<"-----VERTEXS-----"< last; // can't initialize with n NULL ptr + for (int i=0;i distnace(vNum,-1); + distnace[p->val] = 0; + list que; + que.push_back(p); + while(!que.empty()){ + vertex * cur = que.front(); + que.pop_front(); + cur->isVisited = true; + edge *arc = cur->firstEdge; + while(arc){ + vertex * tmp=arc->in; + if(! tmp->isVisited){ + que.push_back(tmp); + int sum = arc->weight+distnace[arc->out->val]; + if(distnace[tmp->val]==-1){ + distnace[tmp->val]= sum; + last[tmp->val] = arc->out; + } + else if(distnace[tmp->val]>sum){ + distnace[tmp->val] = sum; + last[tmp->val] = arc->out; + } + } + arc = arc->nextEdge; + } + } + cout<<"path V"<val]!=p ){ + cout<<"V"<val+1<<"<--"; + cur = last[cur->val]; + } + reVisitVertex(); + if(! cur) { + cout.clear(); + cout<<"there isn't path from V"<>n>>m; + graph g=graph(n,m,weighted,directed); + g.display(); + return 0; +} + + diff --git a/codes/dataStructure/graph/graph.exe b/codes/dataStructure/graph/graph.exe new file mode 100644 index 0000000..a402668 Binary files /dev/null and b/codes/dataStructure/graph/graph.exe differ diff --git a/codes/dataStructure/graph/graph.o b/codes/dataStructure/graph/graph.o new file mode 100644 index 0000000..be77ca9 Binary files /dev/null and b/codes/dataStructure/graph/graph.o differ diff --git a/codes/dataStructure/graph/undirected.py b/codes/dataStructure/graph/undirected.py new file mode 100644 index 0000000..117c1fb --- /dev/null +++ b/codes/dataStructure/graph/undirected.py @@ -0,0 +1,186 @@ +from collections import Iterable,deque +class vertex: + def __init__(self,mark,val=None): + self.mark = mark + self.val = val + self.edges = {} + self.isVisited = False + def __getitem__(self,adjVertexMark): + return self.edges[adjVertexMark] + def __delitem__(self,k): + del self.edges[k] + def __iter__(self): + return iter(self.edges.values()) + def __str__(self): + return 'V'+str(self.mark) + def __repr__(self): + return str(self) +class edge: + def __init__(self,adjVertexs, weight = 1): + '''adjVertexs:tuple(v.mark,u.mark)''' + self.weight = weight + self.adjVertexs = adjVertexs + self.isVisted = False + def __add__(self,x): + return self.weight +x + def __radd__(self,x): + return self+x + def __getitem__(self,k): + if k!=0 or k!=1:raise IndexError + return self.adjVertexs[k] + def __str__(self): + return '--'+str(self.weight)+'--' + def __repr__(self): + return str(self) + @property + def v(self): + return self.adjVertexs[0] + @property + def u(self): + return self.adjVertexs[1] +class graph: + def __init__(self): + self.vertexs = {} + self.edges = {} + def __getitem__(self,i): + return self.vertexs[i] + def __setitem__(selfi,x): + self.vertexs[i]= x + def __iter__(self): + return iter(self.vertexs) + def __bool__(self): + return len(self.vertexs)!=0 + def addVertex(self,vertexs): + '''vertexs is a iterable or just a mark that marks the vertex,whichc can be every imutable type''' + if not isinstance(vertexs,Iterable):vertexs=[vertexs] + for i in vertexs: + if not isinstance(i,vertex) and i not in self.vertexs:self.vertexs[i]= vertex(i) + if isinstance(i,vertex) and i not in self.vertexs:self.vertexs[i.mark]= i + + def __getVertex(self,v): + if not isinstance(v,vertex): + if v not in self.vertexs: + self.vertexs[v]=vertex(v) + return self.vertexs[v] + return v + def addEdge(self,v,u,weight = 1): + v = self.__getVertex(v) + u = self.__getVertex(u) + for arc in v: + if u in arc.adjVertexs:return #examine that if v,u have been already connected + vertexs = (v,u) + newEdge = edge (vertexs,weight) + self.edges[vertexs] = newEdge + v.edges[u] = newEdge + u.edges[v] = newEdge + def delEdge(self,v,u): + if not isinstance(v,vertex):v= self.vertexs[v] + if not isinstance(u,vertex):u= self.vertexs[u] + try: + del v[u] + del u[v] + except:print("error!"+str(v)+','+str(u)+' arent adjacent now') + del self.edges[(v,u)] + def revisit(self): + for i in self.vertexs.values(): + i.isVisited = False + for i in self.edges.values(): + i.isVisited = False + def __str__(self): + arcs= list(self.edges.keys()) + arcs=[str(i[0])+str(self.edges[i])+str(i[1]) for i in arcs] + s= '\n'.join(arcs) + return s + def __repr__(self): + return str(self) + def minPath(self,v,u): + v=self.__getVertex(v) + u=self.__getVertex(u) + q=deque([v]) + last={i:None for i in self.vertexs.values()} + last[v] = 0 + ds={i:1000000 for i in self.vertexs.values()} + ds[v]=0 + while len(q)!=0: + nd = q.popleft() + nd.isVisited=True + for edge in nd: + tgt=None + if edge.v==nd: + tgt = edge.u + else:tgt = edge.v + tmp=ds[nd]+edge + if ds[tgt] >tmp: + ds[tgt]=tmp + last[tgt] = nd + if not tgt.isVisited:q.append(tgt) + ''' + cur = u + while cur !=v: + print(str(cur)+'<---',end='') + cur =last[cur] + print(str(v)) + ''' + return ds[u] + def hasCircle(self): + pass + def display(self): + print('vertexs') + for i in self.vertexs: + print(i) + print('edges') + for i in self.edges: + arc=self.edges[i] + print(str(arc.v)+str(arc)+str(arc.u)) + +if __name__=='__main__': + n=int(input()) + while n>0: + cities=int(input()) + n-=1 + g=graph() + li={} + for i in range(cities): + li[input()]=i+1 + arc=int(input()) + for j in range(arc): + s=input().split(' ') + g.addEdge(i+1,int(s[0]),int(s[1])) + ct =int(input()) + for i in range(ct): + line = input() + line= line .split(' ') + v,u = li[line[0]],li[line[1]] + print(g.minPath(v,u)) + g.revisit() +#http://www.spoj.com/submit/SHPATH/id=20525991 +''' +1 +4 +gdansk +2 +2 1 +3 3 +bydgoszcz +3 +1 1 +3 1 +4 4 +torun +3 +1 3 +2 1 +4 1 +warszawa +2 +2 4 +3 1 +2 +gdansk warszawa +bydgoszcz warszawa +V4<---V3<---V2<---V1 +3 +V4<---V3<---V2 +2 +>>> +''' diff --git a/codes/dataStructure/huffman.cc b/codes/dataStructure/huffman.cc new file mode 100644 index 0000000..cab00bf --- /dev/null +++ b/codes/dataStructure/huffman.cc @@ -0,0 +1,364 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#define numDigit 10 +#define nameLength 50 +#define starNum 80 +using namespace std; + +void cat(string s) +{ + FILE* f=fopen(s.c_str(),"rb"); + cout<<"file content"< +void mapprint(map &f) +{ + for(class map::iterator i = f.begin();i!=f.end();++i) + cout<first<<") : "<second< +class node +{ + public: + ky key; + wt val; + bool visited; + node * left,*right; + node(const node &a){val = a.val;key= a.key;visited = a.visited;left= a.left;right=a.right;} + node(ky k=0,wt v=0):key(k),val(v),visited(false),left(NULL),right(NULL){}; + bool operator<(const node & a)const{return val>a.val;}; +}; +template +class huffman +{ +private: + node root; + string res; +public: + long total(){return root.val;} + map encode_map; + map decode_map; + huffman(map& mp); + void display(); + string encode(string,long &); + string decode(string,long&); + void preOrder(node*,string); +}; +template +huffman::huffman(map& mp) +{ + if(mp.empty()){ + cout<<"Error! No data!"< > hp; + for(typename map::iterator i=mp.begin();i!=mp.end();++i){ + hp.push( node(i->first,i->second)); + } + int n =hp.size(); + if(n==1){ + root = hp.top(); + return; + } + while(--n>=1){ + node *a = new node(hp.top()); + hp.pop(); + node *b = new node(hp.top()); + hp.pop(); + node * tmp = new node(0,a->val+b->val); + tmp->left = a,tmp->right = b; + hp.push(*tmp); + } + root = hp.top(); + preOrder(&root,string()); +} +template +void huffman::preOrder(node* nd,string s) +{ + if(nd->left == NULL){ + encode_map[nd->key] =s; + decode_map[s] = nd->key; + delete nd; + return ; + } + preOrder(nd->left,s+'0'); + preOrder(nd->right,s+'1'); + delete nd; +} +template +string huffman::decode(string zipfile_name,long &charNum) +{ + string uniFileName(string); + FILE * src = fopen(zipfile_name.c_str(),"rb"); + char file_name[nameLength]; + fgets(file_name,nameLength,src); + int ct=-1; + while(file_name[++ct]!='\n'); + int pos = zipfile_name.find('.'); + if(pos==string::npos)pos=zipfile_name.size(); + string name(zipfile_name.substr(0,pos)) ,suffix(file_name,file_name+ct),file(name+suffix); + file=uniFileName(file); + cout<<"extracting compressed file :"< +string huffman::encode(string file_name,long &charNum) +{ + charNum=0; + string uniFileName(string); + int pos =file_name.rfind('.'); + if(pos==string::npos)pos=file_name.size(); + string zipfile = file_name.substr(0,pos)+string(".zzip"); + zipfile = uniFileName(zipfile); + cout<<"generating zip file :"<::iterator i=decode_map.begin();i!=decode_map.end() ;++i ){ + data.append((i->first)); + data.append(" "); + data+=(i->second); + } + int data_size = data.size(); // calculate the size of the code_data + char sz[numDigit]; + itoa(data_size,sz,numDigit); + int ct=0; + for(;sz[ct];++ct)fputc(sz[ct],dst); + fputc('\n',dst); + fwrite(data.c_str(),data_size,1,dst); + int sum=0,digit=0,num; + string code8; + for(int i=0;i +void huffman::display() +{ + cout<<"the encoding map,huffman codes are as bellow:"<::iterator i=encode_map.begin();i!=encode_map.end() ;++i ) + cout<first<<"("<<(int)i->first<<"):"<second< &origin,vector &compressed) +{ + int name_length = file_name.size(); + FILE *src=fopen(file_name.c_str(),"rb"); + cout<<"opening "< mp; + while(!feof(src)){ + fread(&cur,sizeof(char),1,src); + if(mp.count(cur)){ + mp[cur]+=1; + } + else mp[cur]=1; + } + fclose(src); + huffman hf(mp); + long sz; + string s(hf.encode(file_name,sz)); + origin.push_back(hf.total()),compressed.push_back(sz); + cout<<"\ncontinue to uncompress? [Y/n]"<& v) +{ + int i=0,last=0; + for(;s[i];++i){ + if(isSep(s[i])){ + v.push_back(string(s+last,s+i)); + while(s[++i]&&isSep(s[i])); + last=i; + } + } + if(s[last])v.push_back(string(s+last,s+i)); +} +bool lenStr(string &a,string &b) +{ + return a.size() & names) +{ + vector originSize,compressedSize; + vector deltaTime; + double last; + vector indicator; + bool bl; + for(vector::iterator i=names.begin();i!=names.end();++i){ + last=GetTickCount(); + bl=handle_one(*i,originSize,compressedSize); + indicator.push_back(bl); + deltaTime.push_back(GetTickCount()-last); + } + cout<<"\ndealt file number "<::iterator p=max_element(names.begin(),names.end(),lenStr); + int len = p->size()+2; + for(int i =0;i names; + if(argv>1){ + for(int i=1;i +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#define numDigit 10 +#define nameLength 50 +#define starNum 80 +using namespace std; + +void cat(string s) +{ + FILE* f=fopen(s.c_str(),"rb"); + cout<<"file content"< +void mapprint(map &f) +{ + for(class map::iterator i = f.begin();i!=f.end();++i) + cout<first<<") : "<second< +class node +{ + public: + ky key; + wt val; + bool visited; + node * left,*right; + node(const node &a){val = a.val;key= a.key;visited = a.visited;left= a.left;right=a.right;} + node(ky k=0,wt v=0):key(k),val(v),visited(false),left(NULL),right(NULL){}; + bool operator<(const node & a)const{return val>a.val;}; +}; +template +class huffman +{ +private: + node root; + string res; +public: + long total(){return root.val;} + map encode_map; + map decode_map; + huffman(map& mp); + void display(); + string encode(string,long &); + string decode(string,long&); + void preOrder(node*,string); +}; +template +huffman::huffman(map& mp) +{ + if(mp.empty()){ + cout<<"Error! No data!"< > hp; + for(typename map::iterator i=mp.begin();i!=mp.end();++i){ + hp.push( node(i->first,i->second)); + } + int n =hp.size(); + if(n==1){ + root = hp.top(); + return; + } + while(--n>=1){ + node *a = new node(hp.top()); + hp.pop(); + node *b = new node(hp.top()); + hp.pop(); + node * tmp = new node(0,a->val+b->val); + tmp->left = a,tmp->right = b; + hp.push(*tmp); + } + root = hp.top(); + preOrder(&root,string()); +} +template +void huffman::preOrder(node* nd,string s) +{ + if(nd->left == NULL){ + encode_map[nd->key] =s; + decode_map[s] = nd->key; + delete nd; + return ; + } + preOrder(nd->left,s+'0'); + preOrder(nd->right,s+'1'); + delete nd; +} +template +string huffman::decode(string zipfile_name,long &charNum) +{ + string uniFileName(string); + FILE * src = fopen(zipfile_name.c_str(),"rb"); + char file_name[nameLength]; + fgets(file_name,nameLength,src); + int ct=-1; + while(file_name[++ct]!='\n'); + int pos = zipfile_name.find('.'); + if(pos==string::npos)pos=zipfile_name.size(); + string name(zipfile_name.substr(0,pos)) ,suffix(file_name,file_name+ct),file(name+suffix); + file=uniFileName(file); + cout<<"extracting compressed file :"< +string huffman::encode(string file_name,long &charNum) +{ + charNum=0; + string uniFileName(string); + int pos =file_name.rfind('.'); + if(pos==string::npos)pos=file_name.size(); + string zipfile = file_name.substr(0,pos)+string(".zzip"); + zipfile = uniFileName(zipfile); + cout<<"generating zip file :"<::iterator i=decode_map.begin();i!=decode_map.end() ;++i ){ + data.append((i->first)); + data.append(" "); + data+=(i->second); + } + int data_size = data.size(); // calculate the size of the code_data + char sz[numDigit]; + itoa(data_size,sz,numDigit); + int ct=0; + for(;sz[ct];++ct)fputc(sz[ct],dst); + fputc('\n',dst); + fwrite(data.c_str(),data_size,1,dst); + int sum=0,digit=0,num; + string code8; + for(int i=0;i +void huffman::display() +{ + cout<<"the encoding map,huffman codes are as bellow:"<::iterator i=encode_map.begin();i!=encode_map.end() ;++i ) + cout<first<<"("<<(int)i->first<<"):"<second< &origin,vector &compressed) +{ + int name_length = file_name.size(); + FILE *src=fopen(file_name.c_str(),"rb"); + cout<<"opening "< mp; + while(!feof(src)){ + fread(&cur,sizeof(char),1,src); + if(mp.count(cur)){ + mp[cur]+=1; + } + else mp[cur]=1; + } + fclose(src); + huffman hf(mp); + long sz; + string s(hf.encode(file_name,sz)); + origin.push_back(hf.total()),compressed.push_back(sz); + cout<<"\ncontinue to uncompress? [Y/n]"<& v) +{ + int i=0,last=0; + for(;s[i];++i){ + if(isSep(s[i])){ + v.push_back(string(s+last,s+i)); + while(s[++i]&&isSep(s[i])); + last=i; + } + } + if(s[last])v.push_back(string(s+last,s+i)); +} +bool lenStr(string &a,string &b) +{ + return a.size() & names) +{ + vector originSize,compressedSize; + vector deltaTime; + double last; + vector indicator; + bool bl; + for(vector::iterator i=names.begin();i!=names.end();++i){ + last=GetTickCount(); + bl=handle_one(*i,originSize,compressedSize); + indicator.push_back(bl); + deltaTime.push_back(GetTickCount()-last); + } + cout<<"\ndealt file number "<::iterator p=max_element(names.begin(),names.end(),lenStr); + int len = p->size()+2; + for(int i =0;i names; + if(argv>1){ + for(int i=1;i +Babel <3.10> and hyphenation patterns for 84 language(s) loaded. +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/ctexart.cls +(d:/applicatons/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty +Package: expl3 2017/05/13 L3 programming layer (loader) + +(d:/applicatons/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex +Package: expl3 2017/05/13 L3 programming layer (code) +\c_max_int=\count79 +\l_tmpa_int=\count80 +\l_tmpb_int=\count81 +\g_tmpa_int=\count82 +\g_tmpb_int=\count83 +\g__prg_map_int=\count84 +\c_log_iow=\count85 +\l_iow_line_count_int=\count86 +\l__iow_line_target_int=\count87 +\l__iow_one_indent_int=\count88 +\l__iow_indent_int=\count89 +\c_zero_dim=\dimen102 +\c_max_dim=\dimen103 +\l_tmpa_dim=\dimen104 +\l_tmpb_dim=\dimen105 +\g_tmpa_dim=\dimen106 +\g_tmpb_dim=\dimen107 +\c_zero_skip=\skip41 +\c_max_skip=\skip42 +\l_tmpa_skip=\skip43 +\l_tmpb_skip=\skip44 +\g_tmpa_skip=\skip45 +\g_tmpb_skip=\skip46 +\c_zero_muskip=\muskip10 +\c_max_muskip=\muskip11 +\l_tmpa_muskip=\muskip12 +\l_tmpb_muskip=\muskip13 +\g_tmpa_muskip=\muskip14 +\g_tmpb_muskip=\muskip15 +\l_keys_choice_int=\count90 +\c__fp_leading_shift_int=\count91 +\c__fp_middle_shift_int=\count92 +\c__fp_trailing_shift_int=\count93 +\c__fp_big_leading_shift_int=\count94 +\c__fp_big_middle_shift_int=\count95 +\c__fp_big_trailing_shift_int=\count96 +\c__fp_Bigg_leading_shift_int=\count97 +\c__fp_Bigg_middle_shift_int=\count98 +\c__fp_Bigg_trailing_shift_int=\count99 +\c__fp_rand_size_int=\count100 +\c__fp_rand_four_int=\count101 +\c__fp_rand_eight_int=\count102 +\l__sort_length_int=\count103 +\l__sort_min_int=\count104 +\l__sort_top_int=\count105 +\l__sort_max_int=\count106 +\l__sort_true_max_int=\count107 +\l__sort_block_int=\count108 +\l__sort_begin_int=\count109 +\l__sort_end_int=\count110 +\l__sort_A_int=\count111 +\l__sort_B_int=\count112 +\l__sort_C_int=\count113 +\c_empty_box=\box26 +\l_tmpa_box=\box27 +\l_tmpb_box=\box28 +\g_tmpa_box=\box29 +\g_tmpb_box=\box30 +\l__box_top_dim=\dimen108 +\l__box_bottom_dim=\dimen109 +\l__box_left_dim=\dimen110 +\l__box_right_dim=\dimen111 +\l__box_top_new_dim=\dimen112 +\l__box_bottom_new_dim=\dimen113 +\l__box_left_new_dim=\dimen114 +\l__box_right_new_dim=\dimen115 +\l__box_internal_box=\box31 +\l__coffin_internal_box=\box32 +\l__coffin_internal_dim=\dimen116 +\l__coffin_offset_x_dim=\dimen117 +\l__coffin_offset_y_dim=\dimen118 +\l__coffin_x_dim=\dimen119 +\l__coffin_y_dim=\dimen120 +\l__coffin_x_prime_dim=\dimen121 +\l__coffin_y_prime_dim=\dimen122 +\c_empty_coffin=\box33 +\l__coffin_aligned_coffin=\box34 +\l__coffin_aligned_internal_coffin=\box35 +\l_tmpa_coffin=\box36 +\l_tmpb_coffin=\box37 +\l__coffin_display_coffin=\box38 +\l__coffin_display_coord_coffin=\box39 +\l__coffin_display_pole_coffin=\box40 +\l__coffin_display_offset_dim=\dimen123 +\l__coffin_display_x_dim=\dimen124 +\l__coffin_display_y_dim=\dimen125 +\l__coffin_bounding_shift_dim=\dimen126 +\l__coffin_left_corner_dim=\dimen127 +\l__coffin_right_corner_dim=\dimen128 +\l__coffin_bottom_corner_dim=\dimen129 +\l__coffin_top_corner_dim=\dimen130 +\l__coffin_scaled_total_height_dim=\dimen131 +\l__coffin_scaled_width_dim=\dimen132 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/l3kernel/l3pdfmode.def +File: l3pdfmode.def 2017/03/18 v L3 Experimental driver: PDF mode +\l__driver_color_stack_int=\count114 +\l__driver_tmp_box=\box41 +)) +Document Class: ctexart 2017/04/01 v2.4.9 Chinese adapter for class article (CT +EX) +(d:/applicatons/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty +Package: xparse 2017/05/13 L3 Experimental document command parser +\l__xparse_current_arg_int=\count115 +\g__xparse_grabber_int=\count116 +\l__xparse_m_args_int=\count117 +\l__xparse_mandatory_args_int=\count118 +\l__xparse_v_nesting_int=\count119 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty +Package: l3keys2e 2017/05/13 LaTeX2e option processing using LaTeX3 keys +) +\g__file_internal_ior=\read1 + +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/ctexhook.sty +Package: ctexhook 2017/04/01 v2.4.9 Document and package hooks (CTEX) +) +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/ctexpatch.sty +Package: ctexpatch 2017/04/01 v2.4.9 Patching commands (CTEX) +) +(d:/applicatons/texlive/texmf-dist/tex/latex/base/fix-cm.sty +Package: fix-cm 2015/01/14 v1.1t fixes to LaTeX + +(d:/applicatons/texlive/texmf-dist/tex/latex/base/ts1enc.def +File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file +)) +(d:/applicatons/texlive/texmf-dist/tex/latex/ms/everysel.sty +Package: everysel 2011/10/28 v1.2 EverySelectfont Package (MS) +) +\l__ctex_tmp_int=\count120 +\l__ctex_tmp_box=\box42 +\l__ctex_tmp_dim=\dimen133 + +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/config/ctexopts.cfg +File: ctexopts.cfg 2017/04/01 v2.4.9 Option configuration file (CTEX) +) +(d:/applicatons/texlive/texmf-dist/tex/latex/base/article.cls +Document Class: article 2014/09/29 v1.4h Standard LaTeX document class +(d:/applicatons/texlive/texmf-dist/tex/latex/base/size10.clo +File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) +) +\c@part=\count121 +\c@section=\count122 +\c@subsection=\count123 +\c@subsubsection=\count124 +\c@paragraph=\count125 +\c@subparagraph=\count126 +\c@figure=\count127 +\c@table=\count128 +\abovecaptionskip=\skip47 +\belowcaptionskip=\skip48 +\bibindent=\dimen134 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/engine/ctex-engine-pdftex.def +File: ctex-engine-pdftex.def 2017/04/01 v2.4.9 (pdf)LaTeX adapter (CTEX) +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/CJKutf8.sty +Package: CJKutf8 2015/04/18 4.8.4 + +(d:/applicatons/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty +Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch +) +(d:/applicatons/texlive/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2015/03/17 v1.2c Input encoding file +\inpenc@prehook=\toks14 +\inpenc@posthook=\toks15 + +(d:/applicatons/texlive/texmf-dist/tex/latex/base/utf8.def +File: utf8.def 2017/01/28 v1.1t UTF-8 support for inputenc +Now handling font encoding OML ... +... no UTF-8 mapping file for font encoding OML +Now handling font encoding T1 ... +... processing UTF-8 mapping file for font encoding T1 + +(d:/applicatons/texlive/texmf-dist/tex/latex/base/t1enc.dfu +File: t1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A0 (decimal 160) + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00AB (decimal 171) + defining Unicode char U+00AD (decimal 173) + defining Unicode char U+00BB (decimal 187) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C0 (decimal 192) + defining Unicode char U+00C1 (decimal 193) + defining Unicode char U+00C2 (decimal 194) + defining Unicode char U+00C3 (decimal 195) + defining Unicode char U+00C4 (decimal 196) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00C7 (decimal 199) + defining Unicode char U+00C8 (decimal 200) + defining Unicode char U+00C9 (decimal 201) + defining Unicode char U+00CA (decimal 202) + defining Unicode char U+00CB (decimal 203) + defining Unicode char U+00CC (decimal 204) + defining Unicode char U+00CD (decimal 205) + defining Unicode char U+00CE (decimal 206) + defining Unicode char U+00CF (decimal 207) + defining Unicode char U+00D0 (decimal 208) + defining Unicode char U+00D1 (decimal 209) + defining Unicode char U+00D2 (decimal 210) + defining Unicode char U+00D3 (decimal 211) + defining Unicode char U+00D4 (decimal 212) + defining Unicode char U+00D5 (decimal 213) + defining Unicode char U+00D6 (decimal 214) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00D9 (decimal 217) + defining Unicode char U+00DA (decimal 218) + defining Unicode char U+00DB (decimal 219) + defining Unicode char U+00DC (decimal 220) + defining Unicode char U+00DD (decimal 221) + defining Unicode char U+00DE (decimal 222) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E0 (decimal 224) + defining Unicode char U+00E1 (decimal 225) + defining Unicode char U+00E2 (decimal 226) + defining Unicode char U+00E3 (decimal 227) + defining Unicode char U+00E4 (decimal 228) + defining Unicode char U+00E5 (decimal 229) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00E7 (decimal 231) + defining Unicode char U+00E8 (decimal 232) + defining Unicode char U+00E9 (decimal 233) + defining Unicode char U+00EA (decimal 234) + defining Unicode char U+00EB (decimal 235) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F0 (decimal 240) + defining Unicode char U+00F1 (decimal 241) + defining Unicode char U+00F2 (decimal 242) + defining Unicode char U+00F3 (decimal 243) + defining Unicode char U+00F4 (decimal 244) + defining Unicode char U+00F5 (decimal 245) + defining Unicode char U+00F6 (decimal 246) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+00F9 (decimal 249) + defining Unicode char U+00FA (decimal 250) + defining Unicode char U+00FB (decimal 251) + defining Unicode char U+00FC (decimal 252) + defining Unicode char U+00FD (decimal 253) + defining Unicode char U+00FE (decimal 254) + defining Unicode char U+00FF (decimal 255) + defining Unicode char U+0100 (decimal 256) + defining Unicode char U+0101 (decimal 257) + defining Unicode char U+0102 (decimal 258) + defining Unicode char U+0103 (decimal 259) + defining Unicode char U+0104 (decimal 260) + defining Unicode char U+0105 (decimal 261) + defining Unicode char U+0106 (decimal 262) + defining Unicode char U+0107 (decimal 263) + defining Unicode char U+0108 (decimal 264) + defining Unicode char U+0109 (decimal 265) + defining Unicode char U+010A (decimal 266) + defining Unicode char U+010B (decimal 267) + defining Unicode char U+010C (decimal 268) + defining Unicode char U+010D (decimal 269) + defining Unicode char U+010E (decimal 270) + defining Unicode char U+010F (decimal 271) + defining Unicode char U+0110 (decimal 272) + defining Unicode char U+0111 (decimal 273) + defining Unicode char U+0112 (decimal 274) + defining Unicode char U+0113 (decimal 275) + defining Unicode char U+0114 (decimal 276) + defining Unicode char U+0115 (decimal 277) + defining Unicode char U+0116 (decimal 278) + defining Unicode char U+0117 (decimal 279) + defining Unicode char U+0118 (decimal 280) + defining Unicode char U+0119 (decimal 281) + defining Unicode char U+011A (decimal 282) + defining Unicode char U+011B (decimal 283) + defining Unicode char U+011C (decimal 284) + defining Unicode char U+011D (decimal 285) + defining Unicode char U+011E (decimal 286) + defining Unicode char U+011F (decimal 287) + defining Unicode char U+0120 (decimal 288) + defining Unicode char U+0121 (decimal 289) + defining Unicode char U+0122 (decimal 290) + defining Unicode char U+0123 (decimal 291) + defining Unicode char U+0124 (decimal 292) + defining Unicode char U+0125 (decimal 293) + defining Unicode char U+0128 (decimal 296) + defining Unicode char U+0129 (decimal 297) + defining Unicode char U+012A (decimal 298) + defining Unicode char U+012B (decimal 299) + defining Unicode char U+012C (decimal 300) + defining Unicode char U+012D (decimal 301) + defining Unicode char U+012E (decimal 302) + defining Unicode char U+012F (decimal 303) + defining Unicode char U+0130 (decimal 304) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0132 (decimal 306) + defining Unicode char U+0133 (decimal 307) + defining Unicode char U+0134 (decimal 308) + defining Unicode char U+0135 (decimal 309) + defining Unicode char U+0136 (decimal 310) + defining Unicode char U+0137 (decimal 311) + defining Unicode char U+0139 (decimal 313) + defining Unicode char U+013A (decimal 314) + defining Unicode char U+013B (decimal 315) + defining Unicode char U+013C (decimal 316) + defining Unicode char U+013D (decimal 317) + defining Unicode char U+013E (decimal 318) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0143 (decimal 323) + defining Unicode char U+0144 (decimal 324) + defining Unicode char U+0145 (decimal 325) + defining Unicode char U+0146 (decimal 326) + defining Unicode char U+0147 (decimal 327) + defining Unicode char U+0148 (decimal 328) + defining Unicode char U+014A (decimal 330) + defining Unicode char U+014B (decimal 331) + defining Unicode char U+014C (decimal 332) + defining Unicode char U+014D (decimal 333) + defining Unicode char U+014E (decimal 334) + defining Unicode char U+014F (decimal 335) + defining Unicode char U+0150 (decimal 336) + defining Unicode char U+0151 (decimal 337) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+0154 (decimal 340) + defining Unicode char U+0155 (decimal 341) + defining Unicode char U+0156 (decimal 342) + defining Unicode char U+0157 (decimal 343) + defining Unicode char U+0158 (decimal 344) + defining Unicode char U+0159 (decimal 345) + defining Unicode char U+015A (decimal 346) + defining Unicode char U+015B (decimal 347) + defining Unicode char U+015C (decimal 348) + defining Unicode char U+015D (decimal 349) + defining Unicode char U+015E (decimal 350) + defining Unicode char U+015F (decimal 351) + defining Unicode char U+0160 (decimal 352) + defining Unicode char U+0161 (decimal 353) + defining Unicode char U+0162 (decimal 354) + defining Unicode char U+0163 (decimal 355) + defining Unicode char U+0164 (decimal 356) + defining Unicode char U+0165 (decimal 357) + defining Unicode char U+0168 (decimal 360) + defining Unicode char U+0169 (decimal 361) + defining Unicode char U+016A (decimal 362) + defining Unicode char U+016B (decimal 363) + defining Unicode char U+016C (decimal 364) + defining Unicode char U+016D (decimal 365) + defining Unicode char U+016E (decimal 366) + defining Unicode char U+016F (decimal 367) + defining Unicode char U+0170 (decimal 368) + defining Unicode char U+0171 (decimal 369) + defining Unicode char U+0172 (decimal 370) + defining Unicode char U+0173 (decimal 371) + defining Unicode char U+0174 (decimal 372) + defining Unicode char U+0175 (decimal 373) + defining Unicode char U+0176 (decimal 374) + defining Unicode char U+0177 (decimal 375) + defining Unicode char U+0178 (decimal 376) + defining Unicode char U+0179 (decimal 377) + defining Unicode char U+017A (decimal 378) + defining Unicode char U+017B (decimal 379) + defining Unicode char U+017C (decimal 380) + defining Unicode char U+017D (decimal 381) + defining Unicode char U+017E (decimal 382) + defining Unicode char U+01CD (decimal 461) + defining Unicode char U+01CE (decimal 462) + defining Unicode char U+01CF (decimal 463) + defining Unicode char U+01D0 (decimal 464) + defining Unicode char U+01D1 (decimal 465) + defining Unicode char U+01D2 (decimal 466) + defining Unicode char U+01D3 (decimal 467) + defining Unicode char U+01D4 (decimal 468) + defining Unicode char U+01E2 (decimal 482) + defining Unicode char U+01E3 (decimal 483) + defining Unicode char U+01E6 (decimal 486) + defining Unicode char U+01E7 (decimal 487) + defining Unicode char U+01E8 (decimal 488) + defining Unicode char U+01E9 (decimal 489) + defining Unicode char U+01EA (decimal 490) + defining Unicode char U+01EB (decimal 491) + defining Unicode char U+01F0 (decimal 496) + defining Unicode char U+01F4 (decimal 500) + defining Unicode char U+01F5 (decimal 501) + defining Unicode char U+0218 (decimal 536) + defining Unicode char U+0219 (decimal 537) + defining Unicode char U+021A (decimal 538) + defining Unicode char U+021B (decimal 539) + defining Unicode char U+0232 (decimal 562) + defining Unicode char U+0233 (decimal 563) + defining Unicode char U+1E02 (decimal 7682) + defining Unicode char U+1E03 (decimal 7683) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2010 (decimal 8208) + defining Unicode char U+2011 (decimal 8209) + defining Unicode char U+2012 (decimal 8210) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2015 (decimal 8213) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201A (decimal 8218) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) + defining Unicode char U+201E (decimal 8222) + defining Unicode char U+2030 (decimal 8240) + defining Unicode char U+2031 (decimal 8241) + defining Unicode char U+2039 (decimal 8249) + defining Unicode char U+203A (decimal 8250) + defining Unicode char U+2423 (decimal 9251) + defining Unicode char U+1E20 (decimal 7712) + defining Unicode char U+1E21 (decimal 7713) +) +Now handling font encoding OT1 ... +... processing UTF-8 mapping file for font encoding OT1 + +(d:/applicatons/texlive/texmf-dist/tex/latex/base/ot1enc.dfu +File: ot1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A0 (decimal 160) + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00AD (decimal 173) + defining Unicode char U+00B8 (decimal 184) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+0174 (decimal 372) + defining Unicode char U+0175 (decimal 373) + defining Unicode char U+0176 (decimal 374) + defining Unicode char U+0177 (decimal 375) + defining Unicode char U+0218 (decimal 536) + defining Unicode char U+0219 (decimal 537) + defining Unicode char U+021A (decimal 538) + defining Unicode char U+021B (decimal 539) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) +) +Now handling font encoding OMS ... +... processing UTF-8 mapping file for font encoding OMS + +(d:/applicatons/texlive/texmf-dist/tex/latex/base/omsenc.dfu +File: omsenc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A7 (decimal 167) + defining Unicode char U+00B6 (decimal 182) + defining Unicode char U+00B7 (decimal 183) + defining Unicode char U+2020 (decimal 8224) + defining Unicode char U+2021 (decimal 8225) + defining Unicode char U+2022 (decimal 8226) +) +Now handling font encoding OMX ... +... no UTF-8 mapping file for font encoding OMX +Now handling font encoding U ... +... no UTF-8 mapping file for font encoding U +Now handling font encoding TS1 ... +... processing UTF-8 mapping file for font encoding TS1 + +(d:/applicatons/texlive/texmf-dist/tex/latex/base/ts1enc.dfu +File: ts1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc + defining Unicode char U+00A2 (decimal 162) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00A4 (decimal 164) + defining Unicode char U+00A5 (decimal 165) + defining Unicode char U+00A6 (decimal 166) + defining Unicode char U+00A7 (decimal 167) + defining Unicode char U+00A8 (decimal 168) + defining Unicode char U+00A9 (decimal 169) + defining Unicode char U+00AA (decimal 170) + defining Unicode char U+00AC (decimal 172) + defining Unicode char U+00AE (decimal 174) + defining Unicode char U+00AF (decimal 175) + defining Unicode char U+00B0 (decimal 176) + defining Unicode char U+00B1 (decimal 177) + defining Unicode char U+00B2 (decimal 178) + defining Unicode char U+00B3 (decimal 179) + defining Unicode char U+00B4 (decimal 180) + defining Unicode char U+00B5 (decimal 181) + defining Unicode char U+00B6 (decimal 182) + defining Unicode char U+00B7 (decimal 183) + defining Unicode char U+00B9 (decimal 185) + defining Unicode char U+00BA (decimal 186) + defining Unicode char U+00BC (decimal 188) + defining Unicode char U+00BD (decimal 189) + defining Unicode char U+00BE (decimal 190) + defining Unicode char U+00D7 (decimal 215) + defining Unicode char U+00F7 (decimal 247) + defining Unicode char U+0192 (decimal 402) + defining Unicode char U+02C7 (decimal 711) + defining Unicode char U+02D8 (decimal 728) + defining Unicode char U+02DD (decimal 733) + defining Unicode char U+0E3F (decimal 3647) + defining Unicode char U+2016 (decimal 8214) + defining Unicode char U+2020 (decimal 8224) + defining Unicode char U+2021 (decimal 8225) + defining Unicode char U+2022 (decimal 8226) + defining Unicode char U+2030 (decimal 8240) + defining Unicode char U+2031 (decimal 8241) + defining Unicode char U+203B (decimal 8251) + defining Unicode char U+203D (decimal 8253) + defining Unicode char U+2044 (decimal 8260) + defining Unicode char U+204E (decimal 8270) + defining Unicode char U+2052 (decimal 8274) + defining Unicode char U+20A1 (decimal 8353) + defining Unicode char U+20A4 (decimal 8356) + defining Unicode char U+20A6 (decimal 8358) + defining Unicode char U+20A9 (decimal 8361) + defining Unicode char U+20AB (decimal 8363) + defining Unicode char U+20AC (decimal 8364) + defining Unicode char U+20B1 (decimal 8369) + defining Unicode char U+2103 (decimal 8451) + defining Unicode char U+2116 (decimal 8470) + defining Unicode char U+2117 (decimal 8471) + defining Unicode char U+211E (decimal 8478) + defining Unicode char U+2120 (decimal 8480) + defining Unicode char U+2122 (decimal 8482) + defining Unicode char U+2126 (decimal 8486) + defining Unicode char U+2127 (decimal 8487) + defining Unicode char U+212E (decimal 8494) + defining Unicode char U+2190 (decimal 8592) + defining Unicode char U+2191 (decimal 8593) + defining Unicode char U+2192 (decimal 8594) + defining Unicode char U+2193 (decimal 8595) + defining Unicode char U+2329 (decimal 9001) + defining Unicode char U+232A (decimal 9002) + defining Unicode char U+2422 (decimal 9250) + defining Unicode char U+25E6 (decimal 9702) + defining Unicode char U+25EF (decimal 9711) + defining Unicode char U+266A (decimal 9834) +) + defining Unicode char U+00A9 (decimal 169) + defining Unicode char U+00AA (decimal 170) + defining Unicode char U+00AE (decimal 174) + defining Unicode char U+00BA (decimal 186) + defining Unicode char U+02C6 (decimal 710) + defining Unicode char U+02DC (decimal 732) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2026 (decimal 8230) + defining Unicode char U+2122 (decimal 8482) + defining Unicode char U+2423 (decimal 9251) +)) +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/CJK.sty +Package: CJK 2015/04/18 4.8.4 + +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty +Package: MULEenc 2015/04/18 4.8.4 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/CJK.enc +File: CJK.enc 2015/04/18 4.8.4 +Now handling font encoding C00 ... +... no UTF-8 mapping file for font encoding C00 +Now handling font encoding C05 ... +... no UTF-8 mapping file for font encoding C05 +Now handling font encoding C09 ... +... no UTF-8 mapping file for font encoding C09 +Now handling font encoding C10 ... +... no UTF-8 mapping file for font encoding C10 +Now handling font encoding C20 ... +... no UTF-8 mapping file for font encoding C20 +Now handling font encoding C19 ... +... no UTF-8 mapping file for font encoding C19 +Now handling font encoding C40 ... +... no UTF-8 mapping file for font encoding C40 +Now handling font encoding C42 ... +... no UTF-8 mapping file for font encoding C42 +Now handling font encoding C43 ... +... no UTF-8 mapping file for font encoding C43 +Now handling font encoding C50 ... +... no UTF-8 mapping file for font encoding C50 +Now handling font encoding C52 ... +... no UTF-8 mapping file for font encoding C52 +Now handling font encoding C49 ... +... no UTF-8 mapping file for font encoding C49 +Now handling font encoding C60 ... +... no UTF-8 mapping file for font encoding C60 +Now handling font encoding C61 ... +... no UTF-8 mapping file for font encoding C61 +Now handling font encoding C63 ... +... no UTF-8 mapping file for font encoding C63 +Now handling font encoding C64 ... +... no UTF-8 mapping file for font encoding C64 +Now handling font encoding C65 ... +... no UTF-8 mapping file for font encoding C65 +Now handling font encoding C70 ... +... no UTF-8 mapping file for font encoding C70 +Now handling font encoding C31 ... +... no UTF-8 mapping file for font encoding C31 +Now handling font encoding C32 ... +... no UTF-8 mapping file for font encoding C32 +Now handling font encoding C33 ... +... no UTF-8 mapping file for font encoding C33 +Now handling font encoding C34 ... +... no UTF-8 mapping file for font encoding C34 +Now handling font encoding C35 ... +... no UTF-8 mapping file for font encoding C35 +Now handling font encoding C36 ... +... no UTF-8 mapping file for font encoding C36 +Now handling font encoding C37 ... +... no UTF-8 mapping file for font encoding C37 +Now handling font encoding C80 ... +... no UTF-8 mapping file for font encoding C80 +Now handling font encoding C81 ... +... no UTF-8 mapping file for font encoding C81 +Now handling font encoding C01 ... +... no UTF-8 mapping file for font encoding C01 +Now handling font encoding C11 ... +... no UTF-8 mapping file for font encoding C11 +Now handling font encoding C21 ... +... no UTF-8 mapping file for font encoding C21 +Now handling font encoding C41 ... +... no UTF-8 mapping file for font encoding C41 +Now handling font encoding C62 ... +... no UTF-8 mapping file for font encoding C62 +) +LaTeX Info: Redefining \selectfont on input line 755. +\CJK@indent=\box43 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/base/fontenc.sty +Package: fontenc 2017/04/05 v2.0i Standard LaTeX package +)) +(d:/applicatons/texlive/texmf-dist/tex/latex/cjkpunct/CJKpunct.sty +Package: CJKpunct 2016/05/14 4.8.4 +\CJKpunct@cnta=\count129 +\CJKpunct@cntb=\count130 +\CJKpunct@cntc=\count131 +\CJKpunct@cntd=\count132 +\CJKpunct@cnte=\count133 + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2026 (decimal 8230) + +(d:/applicatons/texlive/texmf-dist/tex/latex/cjkpunct/CJKpunct.spa)) +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty +Package: CJKspace 2015/04/18 3.8.0 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/ctexspa.def +File: ctexspa.def 2017/04/01 v2.4.9 Space info for CJKpunct (CTEX) +) +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/CJKfntef.sty +Package: CJKfntef 2015/04/18 4.8.4 + +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/CJKulem.sty +Package: CJKulem 2015/04/18 4.8.4 + +(d:/applicatons/texlive/texmf-dist/tex/generic/ulem/ulem.sty +\UL@box=\box44 +\UL@hyphenbox=\box45 +\UL@skip=\skip49 +\UL@hook=\toks16 +\UL@height=\dimen135 +\UL@pe=\count134 +\UL@pixel=\dimen136 +\ULC@box=\box46 +Package: ulem 2012/05/18 +\ULdepth=\dimen137 +) +\UL@lastkern=\dimen138 +\CJK@skip=\skip50 +) +\CJK@fntefSkip=\skip51 +\CJK@nest=\count135 +\CJK@fntefDimen=\dimen139 +\CJK@underdotBox=\box47 +\CJK@ULbox=\box48 +\CJK@underanyskip=\dimen140 +) +\ccwd=\dimen141 +\l__ctex_ccglue_skip=\skip52 +) +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \ctexset with sig. '' on line 387. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \CTEXsetup with sig. '+o>{\TrimSpaces }m' on line 393. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \CTEXoptions with sig. '+o' on line 399. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \CTEXsetfont with sig. '' on line 417. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \ziju with sig. 'm' on line 489. +................................................. +\l__ctex_ziju_dim=\dimen142 +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \CTEXindent with sig. '' on line 530. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \CTEXnoindent with sig. '' on line 536. +................................................. + +(d:/applicatons/texlive/texmf-dist/tex/latex/zhnumber/zhnumber.sty +Package: zhnumber 2016/05/14 v2.4 Typesetting numbers with Chinese glyphs +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhnumber with sig. '+o+m' on line 50. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhnumberwithoptions with sig. '+m+m' on line 57. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhnum with sig. '+o+m' on line 111. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhnumwithoptions with sig. '+m+m' on line 118. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhdig with sig. '+o+m' on line 297. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhdigwithoptions with sig. '+m+m' on line 304. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhdigits with sig. '+s+o+m' on line 318. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhdigitswithoptions with sig. '+m+m+m' on line 325. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhdate with sig. '+s+m' on line 384. +................................................. +\l__zhnum_scale_int=\count136 +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhnumExtendScaleMap with sig. '>{\TrimSpaces }+o+m' on +. line 506. +................................................. +\l__zhnum_byte_min_int=\count137 +\l__zhnum_byte_max_int=\count138 +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zhnumsetup with sig. '+m' on line 938. +................................................. + +(d:/applicatons/texlive/texmf-dist/tex/latex/zhnumber/zhnumber-utf8.cfg +File: zhnumber-utf8.cfg 2016/05/14 v2.4 Chinese numerals with UTF8 encoding +)) +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \CTEXnumber with sig. 'mm' on line 553. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \CTEXdigits with sig. 'mm' on line 555. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \ctex_assign_heading_name:nn with sig. 'm>{\SplitArgument +. {\c_one }{,}}+m' on line 686. +................................................. +\l__ctex_heading_skip=\skip53 +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \partmark with sig. 'm' on line 717. +................................................. +................................................. +. LaTeX info: "xparse/redefine-command" +. +. Redefining command \refstepcounter with sig. 'm' on line 1208. +................................................. + +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-ar +ticle.def +File: ctex-scheme-chinese-article.def 2017/04/01 v2.4.9 Chinese scheme for arti +cle (CTEX) + +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/config/ctex-name-utf8.cfg +File: ctex-name-utf8.cfg 2017/04/01 v2.4.9 Caption with encoding UTF8 (CTEX) +)) +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \zihao with sig. 'm' on line 1211. +................................................. + +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/ctex-c5size.clo +File: ctex-c5size.clo 2017/04/01 v2.4.9 c5size option (CTEX) +) +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \CTeX with sig. '' on line 1315. +................................................. + +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windows. +def +File: ctex-fontset-windows.def 2017/04/01 v2.4.9 Windows fonts definition (CTEX +) + +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsn +ew.def +File: ctex-fontset-windowsnew.def 2017/04/01 v2.4.9 Windows fonts definition fo +r Vista or later version (CTEX) + (d:/applicatons/texlive/texmf-dist/tex/generic/ctex/zhwindowsfonts.tex +File: zhwindowsfonts.tex 2017/04/01 v2.4.9 Windows font map loader for pdfTeX a +nd DVIPDFMx (CTEX) +{d:/applicatons/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map}{UGBK.sfd} +{Unicode.sfd}) +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \songti with sig. '' on line 110. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \heiti with sig. '' on line 111. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \fangsong with sig. '' on line 112. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \kaishu with sig. '' on line 113. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \lishu with sig. '' on line 114. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \youyuan with sig. '' on line 115. +................................................. +................................................. +. LaTeX info: "xparse/define-command" +. +. Defining command \yahei with sig. '' on line 116. +................................................. +))) +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/config/ctex.cfg +File: ctex.cfg 2017/04/01 v2.4.9 Configuration file (CTEX) +) +(d:/applicatons/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty +Package: amsmath 2016/11/05 v2.16a AMS math features +\@mathmargin=\skip54 + +For additional information on amsmath, use the `?' option. +(d:/applicatons/texlive/texmf-dist/tex/latex/amsmath/amstext.sty +Package: amstext 2000/06/29 v2.01 AMS text + +(d:/applicatons/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty +File: amsgen.sty 1999/11/30 v2.0 generic functions +\@emptytoks=\toks17 +\ex@=\dimen143 +)) +(d:/applicatons/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty +Package: amsbsy 1999/11/29 v1.2d Bold Symbols +\pmbraise@=\dimen144 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty +Package: amsopn 2016/03/08 v2.02 operator names +) +\inf@bad=\count139 +LaTeX Info: Redefining \frac on input line 213. +\uproot@=\count140 +\leftroot@=\count141 +LaTeX Info: Redefining \overline on input line 375. +\classnum@=\count142 +\DOTSCASE@=\count143 +LaTeX Info: Redefining \ldots on input line 472. +LaTeX Info: Redefining \dots on input line 475. +LaTeX Info: Redefining \cdots on input line 596. +\Mathstrutbox@=\box49 +\strutbox@=\box50 +\big@size=\dimen145 +LaTeX Font Info: Redeclaring font encoding OML on input line 712. +LaTeX Font Info: Redeclaring font encoding OMS on input line 713. +\macc@depth=\count144 +\c@MaxMatrixCols=\count145 +\dotsspace@=\muskip16 +\c@parentequation=\count146 +\dspbrk@lvl=\count147 +\tag@help=\toks18 +\row@=\count148 +\column@=\count149 +\maxfields@=\count150 +\andhelp@=\toks19 +\eqnshift@=\dimen146 +\alignsep@=\dimen147 +\tagshift@=\dimen148 +\tagwidth@=\dimen149 +\totwidth@=\dimen150 +\lineht@=\dimen151 +\@envbody=\toks20 +\multlinegap=\skip55 +\multlinetaggap=\skip56 +\mathdisplay@stack=\toks21 +LaTeX Info: Redefining \[ on input line 2817. +LaTeX Info: Redefining \] on input line 2818. +) +(d:/applicatons/texlive/texmf-dist/tex/latex/graphics/graphicx.sty +Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) + +(d:/applicatons/texlive/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 2014/10/28 v1.15 key=value parser (DPC) +\KV@toks@=\toks22 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/graphics/graphics.sty +Package: graphics 2017/04/14 v1.1b Standard LaTeX Graphics (DPC,SPQR) + +(d:/applicatons/texlive/texmf-dist/tex/latex/graphics/trig.sty +Package: trig 2016/01/03 v1.10 sin cos tan (DPC) +) +(d:/applicatons/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg +File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration +) +Package graphics Info: Driver file: pdftex.def on input line 99. + +(d:/applicatons/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def +File: pdftex.def 2017/01/12 v0.06k Graphics/color for pdfTeX + +(d:/applicatons/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty +Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO) +) +(d:/applicatons/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty +Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO) +) +\Gread@gobject=\count151 +)) +\Gin@req@height=\dimen152 +\Gin@req@width=\dimen153 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty +Package: fancyhdr 2016/09/06 3.8 Extensive control of page headers and footers +\fancy@headwidth=\skip57 +\f@ncyO@elh=\skip58 +\f@ncyO@erh=\skip59 +\f@ncyO@olh=\skip60 +\f@ncyO@orh=\skip61 +\f@ncyO@elf=\skip62 +\f@ncyO@erf=\skip63 +\f@ncyO@olf=\skip64 +\f@ncyO@orf=\skip65 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/float/float.sty +Package: float 2001/11/08 v1.3d Float enhancements (AL) +\c@float@type=\count152 +\float@exts=\toks23 +\float@box=\box51 +\@float@everytoks=\toks24 +\@floatcapt=\box52 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/listings/listings.sty +\lst@mode=\count153 +\lst@gtempboxa=\box53 +\lst@token=\toks25 +\lst@length=\count154 +\lst@currlwidth=\dimen154 +\lst@column=\count155 +\lst@pos=\count156 +\lst@lostspace=\dimen155 +\lst@width=\dimen156 +\lst@newlines=\count157 +\lst@lineno=\count158 +\lst@maxwidth=\dimen157 + +(d:/applicatons/texlive/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2015/06/04 1.6 (Carsten Heinz) +\c@lstnumber=\count159 +\lst@skipnumbers=\count160 +\lst@framebox=\box54 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/listings/listings.cfg +File: listings.cfg 2015/06/04 1.6 listings configuration +)) +Package: listings 2015/06/04 1.6 (Carsten Heinz) + +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/utf8/UTF8.bdg +File: UTF8.bdg 2015/04/18 4.8.4 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/utf8/UTF8.enc +File: UTF8.enc 2015/04/18 4.8.4 +) +(d:/applicatons/texlive/texmf-dist/tex/latex/cjk/texinput/utf8/UTF8.chr +File: UTF8.chr 2015/04/18 4.8.4 +) +(./huffman.aux) +\openout1 = `huffman.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C00/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C05/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C09/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C10/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C20/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C19/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C40/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C42/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C43/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C50/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C52/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C49/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C60/mj/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C61/mj/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C63/mj/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C64/mj/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C65/mj/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C70/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C31/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C32/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C33/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C34/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C35/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C36/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C37/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C80/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C81/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C01/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C11/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C21/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C41/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. +LaTeX Font Info: Checking defaults for C62/song/m/n on input line 14. +LaTeX Font Info: ... okay on input line 14. + ABD: EverySelectfont initializing macros +LaTeX Info: Redefining \selectfont on input line 14. + +(d:/applicatons/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count161 +\scratchdimen=\dimen158 +\scratchbox=\box55 +\nofMPsegments=\count162 +\nofMParguments=\count163 +\everyMPshowfont=\toks26 +\MPscratchCnt=\count164 +\MPscratchDim=\dimen159 +\MPnumerator=\count165 +\makeMPintoPDFobject=\count166 +\everyMPtoPDFconversion=\toks27 +) (d:/applicatons/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty +Package: pdftexcmds 2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO +) + +(d:/applicatons/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty +Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO) +Package ifluatex Info: LuaTeX not detected. +) +Package pdftexcmds Info: LuaTeX not detected. +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +) +(d:/applicatons/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty +Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf + +(d:/applicatons/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty +Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO) + +(d:/applicatons/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty +Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO) +)) +(d:/applicatons/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty +Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO) + +(d:/applicatons/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty +Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO) + +(d:/applicatons/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty +Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) +Package etexcmds Info: Could not find \expanded. +(etexcmds) That can mean that you are not using pdfTeX 1.50 or +(etexcmds) that some package has redefined \expanded. +(etexcmds) In the latter case, load this package earlier. +))) +Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 +38. +Package grfext Info: Graphics extension search list: +(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE +G,.JBIG2,.JB2,.eps] +(grfext) \AppendGraphicsExtensions on input line 456. + +(d:/applicatons/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg +File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv +e +)) +\c@lstlisting=\count167 +LaTeX Font Info: Try loading font information for C70+rm on input line 15. + +(d:/applicatons/texlive/texmf-dist/tex/latex/ctex/fd/c70rm.fd +File: c70rm.fd 2017/04/01 v2.4.9 Chinese font definition (CTEX) +) (./huffman.toc + +LaTeX Font Warning: Font shape `OMX/cmex/m/n' in size <10.53937> not available +(Font) size <10.95> substituted on input line 8. + +Package CJKpunct Info: use punctuation spaces for family 'rm' with punctstyle ( +quanjiao) on input line 25. +) +\tf@toc=\write3 +\openout3 = `huffman.toc'. + + [1 + +] +LaTeX Font Info: Try loading font information for OMS+cmr on input line 35. + (d:/applicatons/texlive/texmf-dist/tex/latex/base/omscmr.fd +File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10.53937> not available +(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 35. + +Underfull \hbox (badness 10000) in paragraph at lines 35--36 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 36--37 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 37--38 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 44--45 + + [] + + +Package Fancyhdr Warning: \headheight is too small (12.0pt): + Make it at least 12.64723pt. + We now make it that large for the rest of the document. + This may cause the page layout to be inconsistent, however. + +[2] +Underfull \hbox (badness 10000) in paragraph at lines 45--46 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 46--47 + + [] + + +Overfull \hbox (10.42503pt too wide) in paragraph at lines 48--49 + \OT1/cmr/bx/n/10.53937 huff-man( map)[] \C70/rm/m/n/10.53937/4f \C70/rm/m/n/ +10.53937/90 ^^R \C70/rm/m/n/10.53937/5b W \C70/rm/m/n/10.53937/7b & \C70/rm/m/n +/10.53937/76 \C70/rm/m/n/10.53937/98 \C70/rm/m/n/10.53937/73 \C70/rm/m/n/ +10.53937/4f \C70/rm/m/n/10.53937/60 o \C70/rm/m/n/10.53937/4e \OT1/cmr/m/n/1 +0.53937 map\C70/rm/m/n/10.53937/5f b ^^O|\C70/rm/m/n/10.53937/ff ^^L| \C70/rm/m +/n/10.53937/71 6 \C70/rm/m/n/10.53937/54 ^^N \C70/rm/m/n/10.53937/5e \C70/rm/ +m/n/10.53937/7a \OT1/cmr/m/n/10.53937 huffman\C70/rm/m/n/10.53937/68 ^^Q + [] + +(d:/applicatons/texlive/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2015/06/04 1.6 listings language file +) +(d:/applicatons/texlive/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2015/06/04 1.6 listings language file +) +(d:/applicatons/texlive/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2015/06/04 1.6 (Carsten Heinz) +) +LaTeX Font Info: Try loading font information for OML+cmr on input line 59. + +(d:/applicatons/texlive/texmf-dist/tex/latex/base/omlcmr.fd +File: omlcmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: Font shape `OML/cmr/m/n' in size <10.53937> not available +(Font) Font shape `OML/cmm/m/it' tried instead on input line 59. + +Overfull \hbox (9.12634pt too wide) in paragraph at lines 60--61 +[][][][][][][][][][][][][][][][][][][][][][][][][][] + [] + +[3] +Overfull \hbox (249.42636pt too wide) in paragraph at lines 83--84 +[][][][][][][][][][][][][][][][][][][][][][][][][][][][][] + [] + + +Overfull \hbox (192.5132pt too wide) in paragraph at lines 88--89 +[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] + [] + +[4] [5] +Overfull \hbox (40.74477pt too wide) in paragraph at lines 137--138 +[][][][][][][][][][][][][][][][][][][][][][] + [] + + +Overfull \hbox (205.16057pt too wide) in paragraph at lines 145--146 +[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] + [] + + +Overfull \hbox (110.3053pt too wide) in paragraph at lines 153--154 +[][][][][][][][][][][][][][][][][][][][][][][][][][][][][] + [] + +LaTeX Font Info: Font shape `OML/cmr/m/it' in size <10.53937> not available +(Font) Font shape `OML/cmm/m/it' tried instead on input line 159. +[6] +Overfull \hbox (3.61879pt too wide) in paragraph at lines 194--195 +[]\C70/rm/m/n/10.53937/62 ^^Q \C70/rm/m/n/10.53937/51 H \C70/rm/m/n/10.53937/8b + \C70/rm/m/n/10.53937/7b \C70/rm/m/n/10.53937/4e \C70/rm/m/n/10.53937/7f +^^V \C70/rm/m/n/10.53937/78 ^^A \C70/rm/m/n/10.53937/4f \C70/rm/m/n/10.53937/ +60 o \C70/rm/m/n/10.53937/76 \C70/rm/m/n/10.53937/59 ' \C70/rm/m/n/10.53937/5 +c ^^O|\C70/rm/m/n/10.53937/ff ^^L| \C70/rm/m/n/10.53937/71 6 \C70/rm/m/n/10.539 +37/54 ^^N \C70/rm/m/n/10.53937/5b X \C70/rm/m/n/10.53937/57 ( \C70/rm/m/n/10.53 +937/65 \C70/rm/m/n/10.53937/4e -|\C70/rm/m/n/10.53937/ff ^^L| \C70/rm/m/n/1 +0.53937/4e \C70/rm/m/n/10.53937/95 . \C70/rm/m/n/10.53937/50 < \C70/rm/m/n/10 +.53937/5b \C70/rm/m/n/10.53937/76 \C70/rm/m/n/10.53937/5f b ^^O\OT1/cmr/m/n +/10.53937 ,\C70/rm/m/n/10.53937/59 \OT1/cmr/m/n/10.53937 ''001 + [] + +[7] +LaTeX Font Info: Try loading font information for C70+zhfs on input line 226 +. + (d:/applicatons/texlive/texmf-dist/tex/latex/zhmetrics/c70zhfs.fd +File: c70zhfs.fd 2009/09/23 4.8.2 +) +Overfull \hbox (89.48152pt too wide) in paragraph at lines 226--226 +[]\OT1/cmtt/m/n/10.53937 the file \C70/zhfs/m/n/10.53937/52 ^^] \C70/zhfs/m/n/1 +0.53937/5f \C70/zhfs/m/n/10.53937/67 * \C70/zhfs/m/n/10.53937/65 9\OT1/cmtt/m +/n/10.53937 .zzip already exists! continue? [Y/n]:generating zip file :\C70/zh +fs/m/n/10.53937/52 ^^] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 226--226 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 226--226 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + +[8] +Overfull \hbox (97.64893pt too wide) in paragraph at lines 226--226 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 226--226 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 259--259 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 259--259 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + +[9] +Overfull \hbox (97.64893pt too wide) in paragraph at lines 259--259 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 259--259 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (20.18536pt too wide) in paragraph at lines 284--284 +[]\OT1/cmtt/m/n/10.53937 the file GitHubDesktopSetup.zzip already exists! conti +nue? [Y/n]:[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 284--284 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 284--284 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (31.25159pt too wide) in paragraph at lines 284--284 +[]\OT1/cmtt/m/n/10.53937 the file GitHubDesktopSetup(2).exe already exists! con +tinue? [Y/n]:[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 284--284 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 284--284 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + +[10] +Overfull \hbox (9.11914pt too wide) in paragraph at lines 284--284 +[]\OT1/cmtt/m/n/10.53937 GitHubDesktopSetup.exe 309610ms 81718.46KB/81718.46K +B :100.00%[] + [] + + +Overfull \hbox (89.48152pt too wide) in paragraph at lines 307--307 +[]\OT1/cmtt/m/n/10.53937 the file \C70/zhfs/m/n/10.53937/52 ^^] \C70/zhfs/m/n/1 +0.53937/5f \C70/zhfs/m/n/10.53937/67 * \C70/zhfs/m/n/10.53937/65 9\OT1/cmtt/m +/n/10.53937 .zzip already exists! continue? [Y/n]:generating zip file :\C70/zh +fs/m/n/10.53937/52 ^^] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 307--307 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 307--307 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 307--307 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + + +Overfull \hbox (97.64893pt too wide) in paragraph at lines 307--307 +[]\OT1/cmtt/m/n/10.53937 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@@@@@@@@@@@@@[] + [] + +[11] (./huffman.aux) + +LaTeX Font Warning: Size substitutions with differences +(Font) up to 0.41063pt have occurred. + + ) +Here is how much of TeX's memory you used: + 17118 strings out of 492995 + 306084 string characters out of 6133147 + 355254 words of memory out of 5000000 + 20089 multiletter control sequences out of 15000+600000 + 53017 words of font info for 196 fonts, out of 8000000 for 9000 + 1141 hyphenation exceptions out of 8191 + 42i,11n,60p,10435b,1886s stack positions out of 5000i,500n,10000p,200000b,80000s +< +c:/WINDOWS/fonts/simhei.ttf> +< +c:/WINDOWS/fonts/simhei.ttf> +Output written on huffman.pdf (11 pages, 591555 bytes). +PDF statistics: + 635 PDF objects out of 1000 (max. 8388607) + 422 compressed objects within 5 object streams + 0 named destinations out of 1000 (max. 500000) + 253 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/codes/dataStructure/huffman/huffman.o b/codes/dataStructure/huffman/huffman.o new file mode 100644 index 0000000..1a8c1a0 Binary files /dev/null and b/codes/dataStructure/huffman/huffman.o differ diff --git a/codes/dataStructure/huffman/huffman.pdf b/codes/dataStructure/huffman/huffman.pdf new file mode 100644 index 0000000..9e40014 Binary files /dev/null and b/codes/dataStructure/huffman/huffman.pdf differ diff --git a/codes/dataStructure/huffman/huffman.synctex.gz b/codes/dataStructure/huffman/huffman.synctex.gz new file mode 100644 index 0000000..7ec89b4 Binary files /dev/null and b/codes/dataStructure/huffman/huffman.synctex.gz differ diff --git a/codes/dataStructure/huffman/huffman.tex b/codes/dataStructure/huffman/huffman.tex new file mode 100644 index 0000000..99a9c2b --- /dev/null +++ b/codes/dataStructure/huffman/huffman.tex @@ -0,0 +1,310 @@ +%\document{article} +\documentclass[UTF8]{ctexart} +\usepackage{amsmath} +\usepackage{graphicx} +\usepackage{fancyhdr} +\usepackage{float} +\usepackage{listings} +\title{Huffman编码压缩} +\author{朱河勤 PB16030899} +\pagestyle{fancy} +\lfoot{朱河勤 PB16030899} +\chead{Huffman编码压缩} +\rfoot{2017/11/11} +\begin{document} +\maketitle + +\tableofcontents +\section{需求分析} + + +\paragraph{1} +正确创建huffman 树,并得到huffman编码 +\paragraph{2} +压缩编码文件,使一般的文本文件变小,二进制文件可能不会变小 +\paragraph{3} +解压文件,注意生成的文件要考虑同名,所以要考虑文件名的操作 +\paragraph{4} +压缩解压时显示进度条 +\paragraph{5} +解压完毕,统计文件数,压缩率,压缩时间等等 + + +\section{概要设计} +\subsection{结点node} +ADT linkList\{\\ +\paragraph{数据对象}:key , val, visited ,left,right \\ +\paragraph{数据关系}:属性集合\\ +\paragraph{基本操作}: +\subparagraph{node()} 新建一个结点 +\subparagraph{node( const node\& nd} 复制一个结点 +\subparagraph{operator<}重载操作符< +\} +\subsection{huffman树} +ADT linkList\{\\ +\paragraph{数据对象}:root , encode\_map, total\\ +\paragraph{数据关系}:属性集合\\ +\paragraph{基本操作}: +\subparagraph{huffman( map)}传递字符的频率信息以map形式, 然后建立huffman树 +\subparagraph{encode(string)} 传递文件名,压缩 +\subparagraph{decode(string)} 传递文件名,解压缩 +\subparagraph{preorder()}先序遍历,获得huffman编码 +\subparagraph{display}显示所有信息,包括结点信息,以及huffman编码 +\} + + +\section{详细设计} +\subsection{编码,解码算法} +\begin{lstlisting}[language=c++] +template +void huffman::preOrder(node* nd,string s) +{ + if(nd->left == NULL){ + encode_map[nd->key] =s; + decode_map[s] = nd->key; + delete nd; + return ; + } + preOrder(nd->left,s+'0'); + preOrder(nd->right,s+'1'); + delete nd; +} +template +string huffman::decode(string zipfile_name) +{ + string uniFileName(string); + FILE * src = fopen(zipfile_name.c_str(),"rb"); + char file_name[nameLength]; + fgets(file_name,nameLength,src); + int ct=-1; + while(file_name[++ct]!='\n'); + int pos = zipfile_name.find('.'); + if(pos==string::npos)pos=zipfile_name.size(); + string name(zipfile_name.substr(0,pos)) ,suffix(file_name,file_name+ct),file(name+suffix); + file=uniFileName(file); + cout<<"extracting compressed file :"< mp; + int idx=0; + for(int i =0;i +string huffman::encode(string file_name) +{ + string uniFileName(string); + int pos =file_name.rfind('.'); + if(pos==string::npos)pos=file_name.size(); + string zipfile = file_name.substr(0,pos)+string(".zzip"); + zipfile = uniFileName(zipfile); + cout<<"generating zip file :"<::iterator i=decode_map.begin();i!=decode_map.end() ;++i ){ + data.append((i->first)); + data.append(" "); + data+=(i->second); + } + cout< int + if root is None:return t + if t is None:return root + if rootself.s else 2*p+self.lowExt-self.n+1 + def arrayToTree(self,i): + return (i+self.offset)//2 if i<=self.lowExt else (i-self.lowExt+ self.n-1)//2 + def win(self,a,b): + return ab + def initTree(self,p): + if p>=self.n: + delta = p%2 #!!! good job notice delta mark the lchild or rchlid + return self.players[self.treeToArray(p//2)+delta] + l = self.initTree(2*p) + r = self.initTree(2*p+1) + if self.win(r,l): + self.tree[p] = l + self.dir = 'r' + return r + else : + self.tree[p] = r + self.dir = 'l' + return l + def getWinIdx(self,idx=1): + while 2*idx +bool isZero(float a) +{ + return a<0.00001&&-a<0.00001; +} +template class map; + //notice that if you declare a class template,declare the class first like this. +template +class pair +{ + friend class map; + pair *next; + public: + t1 first; + t2 second; + +}; +template +class map +{ + int n; + pair head; + int cur; + pair *last_visit; + public: + map(); + ~map(); + bool has(t1); + void erase(t1); + t2& operator[](t1); + pair &locate(int index = -1); + int size(); +}; +template +map::map(){ + n=0; + cur=-1; + last_visit= &head; + head.next=NULL; + head.first = head.second = 0; +} +template +map::~map() +{ + pair *p,*q=&head; + while(q!=NULL){ + p=q->next; + delete q; + q=p; + } +} +template +bool map::has(t1 key) +{ + pair *p = head.next; + for(int i = 0;ifirst<=key;++i){ + if(isZero(p->first-key)) return 1; + p=p->next; + } + return 0; +} +template +pair& map::locate(int index) +{ + if(index>=n||index<0){ + printf("the index is out of range\n"); + return head; + } + if(cur>index){ + last_visit = &head; + cur = -1; + } + while(curnext; + ++cur; + } + return *last_visit; +} +template +int map::size() +{ + return n; +} +template +t2& map::operator[](t1 key) +{ + pair * p=&head; + while(p->next!=NULL){ + if(isZero(p->next->first-key)) return p->next->second; + else if(p->next->first>key){break;} + p=p->next; + } + cur=-1; + last_visit= &head; + pair *tmp = new pair; + tmp ->next = p->next; + tmp->first = key; + p->next = tmp; + ++n; + return tmp->second; +} +template +void map::erase(t1 key) +{ + pair *p = &head; + while(p->next!=NULL){ + if(isZero(p->next->first-key)){ + pair *q = p->next; + p->next = p->next->next; + delete q; + --n; + break; + } + p=p->next; + } + cur=-1; + last_visit= &head; +} + + +int main() +{ + map b; + for(int i = 0;i<40;++i){ + b[i] = i; + if(i%3){ + b[i] = 1; + } + if(i%2){ + b.erase(i); + } + + } + for(int i = 0;i' + def __repr__(self): + return str(self) +class graph: + def __init__(self): + self.vertexs = {} + self.edges = {} + def __getitem__(self,i): + return self.vertexs[i] + def __setitem__(selfi,x): + self.vertexs[i]= x + def __iter__(self): + return iter(self.vertexs.values()) + def __bool__(self): + return len(self.vertexs)!=0 + def addVertex(self,i): + if not (i,vertex) and i not in self.vertexs:self.vertexs[i]= vertex(i) + if isinstance(i,vertex) and i not in self.vertexs:self.vertexs[i.mark]= i + def isConnected(self,v,u): + v = self.__getVertex(v) + u = self.__getVertex(u) + arc= v.firstEdge + while arc!=None: + if arc.inArrow==u:return True + arc = arc.inNextEdge + return False + def __getVertex(self,v): + if not isinstance(v,vertex): + if v not in self.vertexs: + self.vertexs[v]=vertex(v) + return self.vertexs[v] + return v + def addEdge(self,v,u,weight = 1): + v = self.__getVertex(v) + u = self.__getVertex(u) + arc = v.firstEdge + while arc!=None: #examine that if v,u have been already connected + if arc.inArrow==u: return + arc= arc.outNextEdge + newEdge = edge(v,u,v.firstEdge,u.firstEdge,weight) + self.edges[(v.mark,u.mark)] = newEdge + v.firstEdge = newEdge + def delEdge(self,v,u): + if not isinstance(v,vertex):v= self.vertexs[v] + if not isinstance(u,vertex):u= self.vertexs[u] + self._unrelated(v,u) + del self.edges[(v.mark,u.mark)] + def _unrelated(self,v,u): + if v.firstEdge==None:return + if v.firstEdge.inArrow == u: + v.firstEdge =v.firstEdge.outNextEdge + else: + arc = v.firstEdge + while arc.outNextEdge!=None: + if arc.outNextEdge.inArrow ==u: + arc.outNextEdge = arc.outNextEdge.outNextEdge + break + def reVisit(self): + for i in self.vertexs: + self.vertexs[i].isVisited=False + for i in self.edges: + self.edges[i].isVisited=False + def __str__(self): + arcs= list(self.edges.keys()) + arcs=[str(i[0])+'--->'+str(i[1])+' weight:'+str(self.edges[i].weight) for i in arcs] + s= '\n'.join(arcs) + return s + def __repr__(self): + return str(self) + def notIn(self,v): + if (isinstance(v,vertex) and v.mark not in self.vertexs) or v not in self.vertexs: + return True + return False + def minPath(self,v,u): + '''dijstra''' + self.reVisit() + if self.notIn(v) or self.notIn(u): + return [],0 + v = self.__getVertex(v) + u = self.__getVertex(u) + if v.firstEdge==None:return [],0 + q=deque([v]) + last = {i : None for i in self} + distance={i : 1<<30 for i in self} + distance[v]=0 + while len(q)!=0: + cur= q.popleft() + cur.isVisited = True + arc = cur.firstEdge + while arc!=None: + to = arc.inArrow + if not to.isVisited: + q.append(to) + if distance [to] > distance[cur]+arc.weight: + last[to]=cur + distance[to] =distance[cur]+arc.weight + arc= arc.outNextEdge + cur = u + path=[] + while cur!=None and cur!=v: + path.append(cur.mark) + cur=last[cur] + if cur==None:return [], 0 + path.append(v.mark) + return path[::-1],distance[u] + def hasVertex(self,mark): + return mark in self.vertexs + def display(self): + print('vertexs') + for i in self.vertexs: + print(self.vertexs[i].__repr__()) + print('edges') + for i in self.edges: + arc=self.edges[i] + print(str(arc.outArrow)+str(arc)+str(arc.inArrow)) diff --git a/codes/dataStructure/navigation/graph.py b/codes/dataStructure/navigation/graph.py new file mode 100644 index 0000000..439442b --- /dev/null +++ b/codes/dataStructure/navigation/graph.py @@ -0,0 +1,225 @@ +from collections import deque +import directed +class vertex: + def __init__(self,mark,val=None): + self.mark = mark + self.val = val + self.edges = {} + self.isVisited = False + def __getitem__(self,adjVertexMark): + return self.edges[adjVertexMark] + def __delitem__(self,k): + del self.edges[k] + def __iter__(self): + return iter(self.edges.values()) + def __str__(self): + try: + int(self.mark) + return 'v'+str(self.mark) + except:return str(self.mark) + def __repr__(self): + return str(self) +class edge: + def __init__(self,adjVertexs, weight = 1): + '''adjVertexs:tuple(v.mark,u.mark)''' + self.weight = weight + self.adjVertexs = adjVertexs + self.isVisted = False + def __add__(self,x): + return self.weight +x + def __radd__(self,x): + return self+x + def __getitem__(self,k): + if k!=0 or k!=1:raise IndexError + return self.adjVertexs[k] + def __str__(self): + return '--'+str(self.weight)+'--' + def __repr__(self): + return str(self) + @property + def v(self): + return self.adjVertexs[0] + @property + def u(self): + return self.adjVertexs[1] +class graph: + def __init__(self): + self.vertexs = {} + self.edges = {} + def __getitem__(self,i): + return self.vertexs[i] + def __setitem__(selfi,x): + self.vertexs[i]= x + def __iter__(self): + return iter(self.vertexs) + def __bool__(self): + return len(self.vertexs)!=0 + def addVertex(self,v): + if not isinstance(v,vertex) and v not in self.vertexs:self.vertexs[v]= vertex(v) + if isinstance(v,vertex) and v not in self.vertexs:self.vertexs[v.mark]= v + + def __getVertex(self,v): + if not isinstance(v,vertex): + if v not in self.vertexs: + self.vertexs[v]=vertex(v) + return self.vertexs[v] + return v + def addEdge(self,v,u,weight = 1): + v = self.__getVertex(v) + u = self.__getVertex(u) + for arc in v: + if u in arc.adjVertexs:return #examine that if v,u have been already connected + vertexs = (v,u) + newEdge = edge (vertexs,weight) + self.edges[vertexs] = newEdge + v.edges[u] = newEdge + u.edges[v] = newEdge + def delEdge(self,v,u): + if not isinstance(v,vertex):v= self.vertexs[v] + if not isinstance(u,vertex):u= self.vertexs[u] + try: + del v[u] + del u[v] + except:print("error!"+str(v)+','+str(u)+' arent adjacent now') + del self.edges[(v,u)] + def reVisit(self): + for i in self.vertexs.values(): + i.isVisited = False + for i in self.edges.values(): + i.isVisited = False + def __str__(self): + arcs= list(self.edges.keys()) + arcs=[str(i[0])+str(self.edges[i])+str(i[1]) for i in arcs] + s= '\n'.join(arcs) + return s + def __repr__(self): + return str(self) + def minPath(self,v,u): + self.reVisit() + v=self.__getVertex(v) + u=self.__getVertex(u) + q=deque([v]) + last={i:None for i in self.vertexs.values()} + last[v] = 0 + ds={i:1<<30 for i in self.vertexs.values()} + ds[v]=0 + while len(q)!=0: + nd = q.popleft() + nd.isVisited=True + for edge in nd: + tgt=None + if edge.v==nd: + tgt = edge.u + else:tgt = edge.v + tmp=ds[nd]+edge + if ds[tgt] >tmp: + ds[tgt]=tmp + last[tgt] = nd + if not tgt.isVisited:q.append(tgt) + path=[] + cur = u + while cur !=None and cur.mark!=v.mark: + path.append(cur.mark) + cur = last[cur] + if cur==None:return [],-1 + path.append(v.mark) + return path[::-1],ds[u] + def hasCircle(self): + pass + def display(self): + print('vertexs') + for i in self.vertexs: + print(i,end=' ') + print('') + print('edges') + for i in self.edges: + arc=self.edges[i] + print(str(arc.v)+str(arc)+str(arc.u)) + +def loop(dic): + while True: + print('input vertexs to get the min distance, input \'exit\' to exit') + s=input().strip() + if s=='exit':break + s=s.split(' ') + s=[dic[i] if '0'<=i[0]<='9' else i for i in s] + a,b,c=s[0],s[1],None + path,d = g.minPath(a,b) + path2=None + if len(s)==3: + c=s[2] + path2,d2=g.minPath(b,c) + d+=d2 + if path==[] or path2==[] : + if len(s)==3: print(a+' can\'t reach '+c+' via '+b) + else: print(a+' can\'t reach '+b) + continue + if path2!=None:path+=path2[1:] + print('distance : ',d) + print('path','-->'.join(path)) + + +if __name__ =='__main__': + s=input('1. undireted\n2. directed\n') + flag=input('name vertex by 1. num(1-index) or 2. string? ').strip() + dic={} + g = graph() + if s=='2': g=directed.graph() + v,e=input('input vertex num & edge num: ').strip().split(' ') + v,e=int(v),int(e) + if flag=='1': + for i in range(v): + tmp=str(i+1) + dic[tmp]=tmp + g.addVertex(tmp) + else: + print('input vertex name line by line') + for i in range(v): + dic[str(i+1)]=input().strip() + g.addVertex(dic[str(i+1)]) + print('input edge info line by line') + for i in range(e): + li=input().strip().split(' ') + a,b,w=li[0],li[1],1 + if len(li)==3:w=int(li[2]) + a,b=dic[a],dic[b] + g.addEdge(a,b,w) + print('you\'ve build graph :') + g.display() + loop(dic) +''' +6 6 +1 2 5 +1 3 1 +2 6 1 +2 5 1 +4 5 2 +3 4 1 +1 5 +''' + +''' +6 10 +NewYork +LA +BeiJing +HeFei +SiChuan +Paris +2 1 +5 3 +6 1 +3 1 +4 4 +1 3 +2 1 +5 1 +2 4 +3 4 +SiChuan NewYork +Paris HeFei +V4<---V3<---V2<---V1 +3 +V4<---V3<---V2 +2 +''' diff --git a/codes/dataStructure/navigation/lab4_朱河勤_PB16030899.zip b/codes/dataStructure/navigation/lab4_朱河勤_PB16030899.zip new file mode 100644 index 0000000..e2d40c1 Binary files /dev/null and b/codes/dataStructure/navigation/lab4_朱河勤_PB16030899.zip differ diff --git a/codes/dataStructure/polynomial/polynomial.cpp b/codes/dataStructure/polynomial/polynomial.cpp new file mode 100644 index 0000000..b1f8ef7 --- /dev/null +++ b/codes/dataStructure/polynomial/polynomial.cpp @@ -0,0 +1,327 @@ +#include +#include +#include +#include +#include +using namespace std; + +bool isZero(double a) +{ + if((a<0.00001)&&-a<0.00001) + return true; + return false; +} +class node +{ + friend class polynomial; + double coefficient; + double index; +}; +class polynomial +{ + int SIZE; + int n; + node* p; + public: + polynomial(int sz=50); + polynomial(const polynomial & ); + ~polynomial(); + double cal(double); + void getData(); + void display(); + polynomial operator=(const polynomial &); + polynomial operator+(const polynomial &); + polynomial operator-(const polynomial &); + polynomial operator*(const polynomial &); +}; +polynomial::polynomial(int sz):n(0),SIZE(sz) +{ + p = (node*) new node[SIZE]; + memset(p,0,sizeof(p)); +} +polynomial::~polynomial() +{ + delete p; +} +double polynomial::cal(double x) +{ + double rst=0; + for(int i =0;i=0;--i){ + double t = tmp[i].coefficient; + double idx = tmp[i].index; + if(isZero(idx)){ + printf("%+g",t); + continue; + } + if(isZero(t-1)) printf("+"); + else if(isZero(t+1))printf("-"); + else printf("%+g",t); + printf("x"); + if(!isZero(idx-1)) printf("^%g",idx); + } + printf("\n"); +} +void polynomial::getData() +{ + printf("Please input data . \n"); + printf("For every item,Coefficient first .Use space to separate,EOF to end\n"); + map mp; + double idx; + double coef; + while(scanf("%lf%lf",&coef,&idx)!=EOF){ + if(isZero(coef)) continue; + if(mp.count(idx) == 0){ + mp[idx] = coef; + } + else{ + mp[idx] += coef; + if(isZero(mp[idx])){ + mp.erase(idx); + } + } + } + if(mp.size()>SIZE){ + SIZE *=2; + p = (node*)realloc(p,sizeof(node)*SIZE) ; + } + for(map::iterator it = mp.begin();it!=mp.end();++it){ + p[n].index = it->first; + p[n++].coefficient = it->second; + } +} +polynomial polynomial::operator+(const polynomial & a) +{ + polynomial rst ; + int p1 = 0,p2 = 0,p3 = 0; + double exp1 = p[p1].index; + double exp2 = a.p[p2].index; + while(p1exp2){ + rst.p[p3].index = exp2; + rst.p[p3].coefficient = a.p[p2].coefficient; + ++p2,++p3; + exp2 = a.p[p2].index;; + } + if(isZero(exp1-exp2)){ + double tmp= p[p1].coefficient + a.p[p2].coefficient; + if(isZero(tmp)){ + ++p1,++p2; + } + else{ + rst.p[p3].index = p[p1].index; + rst.p[p3].coefficient = tmp; + ++p1,++p2,++p3; + } + } + } + if(p1 == n){ + while(p2 mp; + for(int i = 0;isz){ + sz *=2; + } + polynomial rst(sz); + for(map::iterator it = mp.begin();it!=mp.end();++it){ + rst.p[rst.n].index = it->first; + rst.p[rst.n++].coefficient = it->second; + } + return rst; +} +int num = 0; +polynomial pl[30]; +void menu() +{ + printf("**********OPERATIONS***********\n"); + printf("*****0. create *****\n"); + printf("*****1. add + *****\n"); + printf("*****2. sub - *****\n"); + printf("*****3. mul * *****\n"); + printf("*****4. display *****\n"); + printf("*****5. menu *****\n"); + printf("*****6. clear screen *****\n"); + printf("*****7. exit *****\n"); + printf("*****8. copy *****\n"); + printf("*****9. display all *****\n"); + printf("*****10. cal val *****\n"); + printf("**********OPERATIONS***********\n"); +} +void loop() +{ + int op; + while(scanf("%d",&op)!=EOF){ + if(op == 0){ + pl[num].getData(); + ++num; + printf("You've created polynomial %d:\n",num); + pl[num-1].display(); + } + else if(op==1||op==2||op==3){ + if(num<2){ + printf("Oops! you've got less two polynomial\nPlease choose another operation\n"); + continue; + } + printf("input two nums of the two polynomial to be operated.eg: 1 2\n"); + int t1=100,t2=100; + while(1){ + scanf("%d%d",&t1,&t2); + if(t1>num||t2>num||t1<0||t2<0){ + printf("wrong num ,please input again\n"); + } + else break; + } + printf("the rst is:\n"); + t1 -=1,t2-=1; + if(op == 1){ + (pl[t1]+pl[t2]).display(); + } + else if(op == 2){ + (pl[t1]-pl[t2]).display(); + } + else (pl[t1]*pl[t2]).display(); + } + else if(op == 4){ + printf("input a polynomial's num to display it\n"); + int tmp; + scanf("%d",&tmp); + if(tmp>num){ + printf("wrong num"); + } + else{ + printf("info of polynomial %d\n",tmp); + pl[tmp-1].display(); + } + } + else if(op == 9){ + for(int i = 0;inum||t<0){ + printf("wrong num\n"); + } + else { + printf("input a value\n"); + scanf("%lf",&x); + pl[t-1].display(); + printf("%g\n",pl[t-1].cal(x)); + } + } + else if(op == 8){ + if(num == 0){ + printf("you have'nt any polynomial tp copy\n"); + continue; + } + int n = num+1; + while(n>num){ + printf("input the number of an existing polynomial you want to copy\n"); + scanf("%d",&n); + } + (pl[num] = pl[n-1]); + printf("You've copyed this polynomial:\n"); + pl[num++].display(); + } + else exit(0); + printf("select an operation\n"); + } +} +int main(void) +{ + menu(); + loop(); + return 0; +} diff --git a/codes/dataStructure/polynomial/polynomial.exe b/codes/dataStructure/polynomial/polynomial.exe new file mode 100644 index 0000000..9ca2c24 Binary files /dev/null and b/codes/dataStructure/polynomial/polynomial.exe differ diff --git a/codes/dataStructure/polynomial/polynomial.py b/codes/dataStructure/polynomial/polynomial.py new file mode 100644 index 0000000..1808cc4 --- /dev/null +++ b/codes/dataStructure/polynomial/polynomial.py @@ -0,0 +1,161 @@ +#!/bin/python3 +# notice that creating a class's initialization won't conflict with __call__ method +# because the former call class ,and the latter call instance + +# to be implemented + +class polynomial: + pls= [] + n = 0 + def dictize(pl): + if isinstance(pl,int) or isinstance(pl,float): + pl = {0:pl} + if isinstance(pl,polynomial): + pl = pl.polynomial.copy() + return pl + def isZero(n): + return abs(n)<0.000001 + def __init__(self,s='0 0'): + polynomial.pls.append(self) + polynomial.n +=1 + if isinstance(s,polynomial): + self.polynomial=s.polynomial.copy() + # don't write like this .**self.polynomial = s.polynomial**,it's ref + return + elif isinstance(s,dict): + self.polynomial = s.copy() + return + s= s.replace(',',' ') + s= s.replace('x',' ') + s= s.replace('x^',' ') + s = s.replace(':',' ') + s = s.replace('\n',' ') + s = s.split(' ') + num = len(s) + i = 0 + print(s) + self.polynomial = dict() + li = [float(i) for i in s] + while i +template +bool operator <(type x,type y){return x +class segTree +{ + int size; + type *p; +public: + segTree(int n=1); + ~segTree(); + void update(int i,type x); + type getMin(int a,int b){return find(a,b,1,size,1);} + type find(int a,int b,int i,int j,int); +}; +template +segTree::segTree(int n):size(1) +{ + while(size +segTree::~segTree(){delete p;} +template +void segTree::update(int i,type x) +{ + i+=size-1; + p[i]=x; + while(i!=0){ + i/=2; + p[i]=p[i*2] +type segTree::find(int a,int b,int i , int j,int k) +{ + if(br ?l:r; +} diff --git a/codes/dataStructure/splayTree.py b/codes/dataStructure/splayTree.py new file mode 100644 index 0000000..f665035 --- /dev/null +++ b/codes/dataStructure/splayTree.py @@ -0,0 +1,160 @@ +from collections import deque,Iterable +# use isinstance(obj,Iterable) to judge if an obj is iterable +class node: + def __init__(self,val = None,left=None,right=None,parent=None): + self.val = val + if val :self.freq = 1 + else :self.freq = 0 + self.left = left + self.right = right + self.parent = parent + def getChild(self,s=0): + if isinstance(s,int):s =[s] + last = self + for i in s: + if not last:return None + if i == 0: last = last.left + else:last = last.right + return last + def setChild(self,child,s=0): + if isinstance(s,Iterable): + i = s[0] + del s[0] + if i == 0:self.left.setChild(child,s) + else:self.right.setChild(child,s) + elif s:self.right = child + else:self.left = child +class splayTree: + def __init__(self,s=[]): + s = list(s) + self.root = None + s = sorted(s,reverse = True) + for i in s: + self.insert(self.root,i) + def insert(self,k): + if not self.root :self.root = node(k) + else:self._insert(self.root,k) + def _insert(self,root,k): + if root.val == k : + root.freq +=1 + elif root.val k: + return self._find(root.left,k) + elif root.val +#include +#include +#define SZ 50 +using namespace std; +template +class stack +{ + int capacity; + type *bottom,*top; + public: + stack(int n = SZ); + stack( stack &); + stack(int,type); + stack(vector &); + type pop(); + int cp(); + void push(type); + bool empty(); + type getTop(); +}; +template +stack::stack(int n):capacity(n) +{ + bottom = new type[capacity+1]; + top = bottom; +} + +template +stack::stack(int n,type x):capacity(n*2) +{ + bottom = new type[capacity+1]; + top = bottom; + for(int i = 0;i +stack::stack(vector &vc):capacity (vc.size()*2) +{ + bottom = new type[capacity+1]; + top = bottom; + for(int i = 0;i!=vc.size();++i){ + push(vc[i]); + } +} +template +stack::stack(stack &s):capacity(s.capacity) +{ + bottom = new type[capacity+1]; + top = bottom; + for(type *p= s.bottom;p!=s.top;)*(++top) = *(++p); +} +template +int stack::cp() +{ + return capacity; +} +template +bool stack::empty() +{ + return bottom == top; +} +template +type stack::getTop() +{ + return *top; +} +template +type stack::pop() +{ + if(bottom == top){ + printf("the stack is empty now\n"); + return 0; + }else{ + return *(top--); + } +} +template +void stack::push(type x) +{ + if(capacity == top-bottom){ + bottom = (type *)realloc(bottom,sizeof(type)*(2*capacity+1)); + top = bottom+capacity; + } + *(++top) = x; +} +int main() +{ + stack sc(5,'z'),scc(sc); + printf("stack copy\n"); + while(!scc.empty()){ + printf("%c\n",scc.pop()); + } + vector vc(50,2.3); + stack sd(vc); + sd.push(3.4); + printf("gettop%lf\n",sd.getTop()); + printf("vec copy\n"); + while(!sd.empty()){ + printf("%lf\n",sd.pop()); + } + printf("empty %d\ncapacity%d",sd.empty(),sd.cp()); + return 0; +} diff --git a/codes/dataStructure/stack/stack.exe b/codes/dataStructure/stack/stack.exe new file mode 100644 index 0000000..e8e3e18 Binary files /dev/null and b/codes/dataStructure/stack/stack.exe differ diff --git a/codes/dataStructure/stack/stack.o b/codes/dataStructure/stack/stack.o new file mode 100644 index 0000000..38df45a Binary files /dev/null and b/codes/dataStructure/stack/stack.o differ diff --git a/codes/dataStructure/testAllOne.py b/codes/dataStructure/testAllOne.py new file mode 100644 index 0000000..0a596d8 --- /dev/null +++ b/codes/dataStructure/testAllOne.py @@ -0,0 +1,57 @@ +from allOoneDS import AllOne +from time import time +from random import choice,sample,randint + +class hashMap: + def __init__(self): + self.op = {"inc":self.inc,"dec":self.dec,"getMaxKey":self.getMaxKey,"getMinKey":self.getMinKey} + self.mp={'':0} + def inc(self,key,n=1): + if key in self.mp:self.mp[key]+=n + else:self.mp[key]=n + def dec(self,key,n=1): + if key not in self.mp:return + if self.mp[key]<=n:del self.mp[key] + else: self.mp[key]-=n + def getMinKey(self): + return min(list(self.mp.keys()),key=lambda key:self.mp[key]) + def getMaxKey(self): + return max(list(self.mp.keys()),key=lambda key:self.mp[key]) + + +op_origin = ['inc','dec','getMinKey','getMaxKey']#'getMinKey','getMaxKey','getMinKey','getMaxKey','getMinKey','getMaxKey','getMinKey','getMaxKey'] +ch=list('qwertyuiopasdfghjklzxcvbnm') +keys =[ ''.join(sample(ch,i)) for j in range(10) for i in range(1,20,5)] + +def testCase(n=1000): + ops=[] + data=[] + for i in range(n): + p = randint(0,len(op_origin)-1) + ops.append(op_origin[p]) + if p<2: + data.append([randint(1,5)]) + else:data.append([]) + return ops,data + +def test(repeat=1000): + t1,t2=0,0 + for i in range(repeat): + allOne = AllOne() + hsmp = hashMap() + ops,data = testCase() + t1-=time() + for op,datum in zip(ops,data): + allOne.op[op](*datum) + t1+=time() + + t2-=time() + for op,datum in zip(ops,data): + hsmp.op[op](*datum) + t2+=time() + return t1,t2 + + +if __name__=='__main__': + t1,t2= test() + print(t1,t2) diff --git a/codes/dataStructure/trie.py b/codes/dataStructure/trie.py new file mode 100644 index 0000000..840aa0d --- /dev/null +++ b/codes/dataStructure/trie.py @@ -0,0 +1,86 @@ +class node: + def __init__(self,val = None): + self.val = val + self.isKey = False + self.children = {} + def __getitem__(self,i): + return self.children[i] + def __iter__(self): + return iter(self.children.keys()) + def __setitem__(self,i,x): + self.children[i] = x + def __bool__(self): + return self.children!={} + def __str__(self): + return 'val: '+str(self.val)+'\nchildren: '+' '.join(self.children.keys()) + def __repr__(self): + return str(self) + +class Trie(object): + + def __init__(self): + self.root=node('') + self.dic ={'insert':self.insert,'startsWith':self.startsWith,'search':self.search} + + def insert(self, word): + """ + Inserts a word into the trie. + :type word: str + :rtype: void + """ + if not word:return + nd = self.root + for i in word: + if i in nd: + nd = nd[i] + else: + newNode= node(i) + nd[i] = newNode + nd = newNode + else:nd.isKey = True + def search(self, word,matchAll='.'): + """support matchall function eg, 'p.d' matchs 'pad' , 'pid' + """ + self.matchAll = '.' + return self._search(self.root,word) + def _search(self,nd,word): + for idx,i in enumerate(word): + if i==self.matchAll : + for j in nd: + bl =self._search(nd[j],word[idx+1:]) + if bl:return True + else:return False + if i in nd: + nd = nd[i] + else:return False + else:return nd.isKey + def startsWith(self, prefix): + """ + Returns if there is any word in the trie that starts with the given prefix. + :type prefix: str + :rtype: bool + """ + nd = self.root + for i in prefix: + if i in nd: + nd= nd[i] + else:return False + return True + def display(self): + print('preOrderTraverse data of the Trie') + self.preOrder(self.root,'') + def preOrder(self,root,s): + s=s+root.val + if root.isKey: + print(s) + for i in root: + self.preOrder(root[i],s) + +if __name__=='__main__': + t = Trie() + rsts = [None,None,None,None,None,None,False,True,False,False,False,False,False,True,True,False,True,True,False,False,False,True,True,True] + op = ["insert","insert","insert","insert","insert","insert","search","search","search","search","search","search","search","search","search","startsWith","startsWith","startsWith","startsWith","startsWith","startsWith","startsWith","startsWith","startsWith"] + data = [["app"],["apple"],["beer"],["add"],["jam"],["rental"],["apps"],["app"],["ad"],["applepie"],["rest"],["jan"],["rent"],["beer"],["jam"],["apps"],["app"],["ad"],["applepie"],["rest"],["jan"],["rent"],["beer"],["jam"]] + for i,datum,rst in zip(op,data,rsts): + if t.dic[i](datum[0]) != rst:print(i,datum[0],rst) + t.display() diff --git a/codes/dataStructure/winnerTree.py b/codes/dataStructure/winnerTree.py new file mode 100644 index 0000000..66430e7 --- /dev/null +++ b/codes/dataStructure/winnerTree.py @@ -0,0 +1,96 @@ +class winnerTree: + '''if iself.s else 2*p+self.lowExt-self.n+1 + def arrayToTree(self,i): + return (i+self.offset)//2 if i<=self.lowExt else (i-self.lowExt+ self.n-1)//2 + def win(self,a,b): + return ab + def initTree(self,p): + if p>=self.n: + delta = p%2 #!!! good job notice delta mark the lchild or rchlid + return self.players[self.treeToArray(p//2)+delta] + l = self.initTree(2*p) + r = self.initTree(2*p+1) + self.tree[p] = l if self.win(l,r) else r + return self.tree[p] + def winner(self): + idx = 1 + while 2*idx + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/codes/four/build/handle/localpycos/pyimod01_os_path.pyc b/codes/four/build/handle/localpycos/pyimod01_os_path.pyc new file mode 100644 index 0000000..ba24a76 Binary files /dev/null and b/codes/four/build/handle/localpycos/pyimod01_os_path.pyc differ diff --git a/codes/four/build/handle/localpycos/pyimod02_archive.pyc b/codes/four/build/handle/localpycos/pyimod02_archive.pyc new file mode 100644 index 0000000..31164cc Binary files /dev/null and b/codes/four/build/handle/localpycos/pyimod02_archive.pyc differ diff --git a/codes/four/build/handle/localpycos/pyimod03_importers.pyc b/codes/four/build/handle/localpycos/pyimod03_importers.pyc new file mode 100644 index 0000000..5e1df44 Binary files /dev/null and b/codes/four/build/handle/localpycos/pyimod03_importers.pyc differ diff --git a/codes/four/build/handle/localpycos/struct.pyo b/codes/four/build/handle/localpycos/struct.pyo new file mode 100644 index 0000000..1b1ea59 Binary files /dev/null and b/codes/four/build/handle/localpycos/struct.pyo differ diff --git a/codes/four/build/handle/out00-Analysis.toc b/codes/four/build/handle/out00-Analysis.toc new file mode 100644 index 0000000..2c9420a --- /dev/null +++ b/codes/four/build/handle/out00-Analysis.toc @@ -0,0 +1,409 @@ +(['C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\handle.py'], + ['C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four'], + ['codecs'], + [], + [], + [], + False, + False, + '3.6.2 |Anaconda custom (64-bit)| (default, Jul 20 2017, 12:30:02) [MSC ' + 'v.1900 64 bit (AMD64)]', + [('handle', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\handle.py', + 'PYSOURCE')], + [('ntpath', 'd:\\applications\\amacpmda3\\lib\\ntpath.py', 'PYMODULE'), + ('_strptime', 'd:\\applications\\amacpmda3\\lib\\_strptime.py', 'PYMODULE'), + ('datetime', 'd:\\applications\\amacpmda3\\lib\\datetime.py', 'PYMODULE'), + ('stringprep', 'd:\\applications\\amacpmda3\\lib\\stringprep.py', 'PYMODULE'), + ('stat', 'd:\\applications\\amacpmda3\\lib\\stat.py', 'PYMODULE'), + ('genericpath', + 'd:\\applications\\amacpmda3\\lib\\genericpath.py', + 'PYMODULE'), + ('posixpath', 'd:\\applications\\amacpmda3\\lib\\posixpath.py', 'PYMODULE'), + ('fnmatch', 'd:\\applications\\amacpmda3\\lib\\fnmatch.py', 'PYMODULE'), + ('_compat_pickle', + 'd:\\applications\\amacpmda3\\lib\\_compat_pickle.py', + 'PYMODULE'), + ('__future__', 'd:\\applications\\amacpmda3\\lib\\__future__.py', 'PYMODULE'), + ('difflib', 'd:\\applications\\amacpmda3\\lib\\difflib.py', 'PYMODULE'), + ('ast', 'd:\\applications\\amacpmda3\\lib\\ast.py', 'PYMODULE'), + ('inspect', 'd:\\applications\\amacpmda3\\lib\\inspect.py', 'PYMODULE'), + ('cmd', 'd:\\applications\\amacpmda3\\lib\\cmd.py', 'PYMODULE'), + ('bdb', 'd:\\applications\\amacpmda3\\lib\\bdb.py', 'PYMODULE'), + ('opcode', 'd:\\applications\\amacpmda3\\lib\\opcode.py', 'PYMODULE'), + ('dis', 'd:\\applications\\amacpmda3\\lib\\dis.py', 'PYMODULE'), + ('codeop', 'd:\\applications\\amacpmda3\\lib\\codeop.py', 'PYMODULE'), + ('code', 'd:\\applications\\amacpmda3\\lib\\code.py', 'PYMODULE'), + ('glob', 'd:\\applications\\amacpmda3\\lib\\glob.py', 'PYMODULE'), + ('shlex', 'd:\\applications\\amacpmda3\\lib\\shlex.py', 'PYMODULE'), + ('importlib._bootstrap', + 'd:\\applications\\amacpmda3\\lib\\importlib\\_bootstrap.py', + 'PYMODULE'), + ('importlib._bootstrap_external', + 'd:\\applications\\amacpmda3\\lib\\importlib\\_bootstrap_external.py', + 'PYMODULE'), + ('importlib.machinery', + 'd:\\applications\\amacpmda3\\lib\\importlib\\machinery.py', + 'PYMODULE'), + ('importlib.util', + 'd:\\applications\\amacpmda3\\lib\\importlib\\util.py', + 'PYMODULE'), + ('importlib.abc', + 'd:\\applications\\amacpmda3\\lib\\importlib\\abc.py', + 'PYMODULE'), + ('importlib', + 'd:\\applications\\amacpmda3\\lib\\importlib\\__init__.py', + 'PYMODULE'), + ('pkgutil', 'd:\\applications\\amacpmda3\\lib\\pkgutil.py', 'PYMODULE'), + ('xml', 'd:\\applications\\amacpmda3\\lib\\xml\\__init__.py', 'PYMODULE'), + ('xml.sax.expatreader', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\expatreader.py', + 'PYMODULE'), + ('xml.sax.saxutils', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\saxutils.py', + 'PYMODULE'), + ('urllib.request', + 'd:\\applications\\amacpmda3\\lib\\urllib\\request.py', + 'PYMODULE'), + ('getpass', 'd:\\applications\\amacpmda3\\lib\\getpass.py', 'PYMODULE'), + ('nturl2path', 'd:\\applications\\amacpmda3\\lib\\nturl2path.py', 'PYMODULE'), + ('ftplib', 'd:\\applications\\amacpmda3\\lib\\ftplib.py', 'PYMODULE'), + ('netrc', 'd:\\applications\\amacpmda3\\lib\\netrc.py', 'PYMODULE'), + ('http.cookiejar', + 'd:\\applications\\amacpmda3\\lib\\http\\cookiejar.py', + 'PYMODULE'), + ('urllib.response', + 'd:\\applications\\amacpmda3\\lib\\urllib\\response.py', + 'PYMODULE'), + ('urllib.error', + 'd:\\applications\\amacpmda3\\lib\\urllib\\error.py', + 'PYMODULE'), + ('xml.sax', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\__init__.py', + 'PYMODULE'), + ('xml.sax.handler', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\handler.py', + 'PYMODULE'), + ('xml.sax._exceptions', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\_exceptions.py', + 'PYMODULE'), + ('xml.sax.xmlreader', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\xmlreader.py', + 'PYMODULE'), + ('xml.parsers', + 'd:\\applications\\amacpmda3\\lib\\xml\\parsers\\__init__.py', + 'PYMODULE'), + ('xml.parsers.expat', + 'd:\\applications\\amacpmda3\\lib\\xml\\parsers\\expat.py', + 'PYMODULE'), + ('plistlib', 'd:\\applications\\amacpmda3\\lib\\plistlib.py', 'PYMODULE'), + ('platform', 'd:\\applications\\amacpmda3\\lib\\platform.py', 'PYMODULE'), + ('urllib.parse', + 'd:\\applications\\amacpmda3\\lib\\urllib\\parse.py', + 'PYMODULE'), + ('tempfile', 'd:\\applications\\amacpmda3\\lib\\tempfile.py', 'PYMODULE'), + ('tty', 'd:\\applications\\amacpmda3\\lib\\tty.py', 'PYMODULE'), + ('pydoc_data', + 'd:\\applications\\amacpmda3\\lib\\pydoc_data\\__init__.py', + 'PYMODULE'), + ('pydoc_data.topics', + 'd:\\applications\\amacpmda3\\lib\\pydoc_data\\topics.py', + 'PYMODULE'), + ('html.entities', + 'd:\\applications\\amacpmda3\\lib\\html\\entities.py', + 'PYMODULE'), + ('html', 'd:\\applications\\amacpmda3\\lib\\html\\__init__.py', 'PYMODULE'), + ('ipaddress', 'd:\\applications\\amacpmda3\\lib\\ipaddress.py', 'PYMODULE'), + ('ssl', 'd:\\applications\\amacpmda3\\lib\\ssl.py', 'PYMODULE'), + ('http.client', + 'd:\\applications\\amacpmda3\\lib\\http\\client.py', + 'PYMODULE'), + ('mimetypes', 'd:\\applications\\amacpmda3\\lib\\mimetypes.py', 'PYMODULE'), + ('socketserver', + 'd:\\applications\\amacpmda3\\lib\\socketserver.py', + 'PYMODULE'), + ('http', 'd:\\applications\\amacpmda3\\lib\\http\\__init__.py', 'PYMODULE'), + ('http.server', + 'd:\\applications\\amacpmda3\\lib\\http\\server.py', + 'PYMODULE'), + ('optparse', 'd:\\applications\\amacpmda3\\lib\\optparse.py', 'PYMODULE'), + ('uu', 'd:\\applications\\amacpmda3\\lib\\uu.py', 'PYMODULE'), + ('quopri', 'd:\\applications\\amacpmda3\\lib\\quopri.py', 'PYMODULE'), + ('email.feedparser', + 'd:\\applications\\amacpmda3\\lib\\email\\feedparser.py', + 'PYMODULE'), + ('email.parser', + 'd:\\applications\\amacpmda3\\lib\\email\\parser.py', + 'PYMODULE'), + ('email', 'd:\\applications\\amacpmda3\\lib\\email\\__init__.py', 'PYMODULE'), + ('calendar', 'd:\\applications\\amacpmda3\\lib\\calendar.py', 'PYMODULE'), + ('email._parseaddr', + 'd:\\applications\\amacpmda3\\lib\\email\\_parseaddr.py', + 'PYMODULE'), + ('email.utils', + 'd:\\applications\\amacpmda3\\lib\\email\\utils.py', + 'PYMODULE'), + ('email.errors', + 'd:\\applications\\amacpmda3\\lib\\email\\errors.py', + 'PYMODULE'), + ('email.header', + 'd:\\applications\\amacpmda3\\lib\\email\\header.py', + 'PYMODULE'), + ('email._policybase', + 'd:\\applications\\amacpmda3\\lib\\email\\_policybase.py', + 'PYMODULE'), + ('email.base64mime', + 'd:\\applications\\amacpmda3\\lib\\email\\base64mime.py', + 'PYMODULE'), + ('email.encoders', + 'd:\\applications\\amacpmda3\\lib\\email\\encoders.py', + 'PYMODULE'), + ('email.charset', + 'd:\\applications\\amacpmda3\\lib\\email\\charset.py', + 'PYMODULE'), + ('base64', 'd:\\applications\\amacpmda3\\lib\\base64.py', 'PYMODULE'), + ('email._encoded_words', + 'd:\\applications\\amacpmda3\\lib\\email\\_encoded_words.py', + 'PYMODULE'), + ('hashlib', 'd:\\applications\\amacpmda3\\lib\\hashlib.py', 'PYMODULE'), + ('bisect', 'd:\\applications\\amacpmda3\\lib\\bisect.py', 'PYMODULE'), + ('email.generator', + 'd:\\applications\\amacpmda3\\lib\\email\\generator.py', + 'PYMODULE'), + ('email.iterators', + 'd:\\applications\\amacpmda3\\lib\\email\\iterators.py', + 'PYMODULE'), + ('urllib', + 'd:\\applications\\amacpmda3\\lib\\urllib\\__init__.py', + 'PYMODULE'), + ('email._header_value_parser', + 'd:\\applications\\amacpmda3\\lib\\email\\_header_value_parser.py', + 'PYMODULE'), + ('email.headerregistry', + 'd:\\applications\\amacpmda3\\lib\\email\\headerregistry.py', + 'PYMODULE'), + ('email.quoprimime', + 'd:\\applications\\amacpmda3\\lib\\email\\quoprimime.py', + 'PYMODULE'), + ('email.contentmanager', + 'd:\\applications\\amacpmda3\\lib\\email\\contentmanager.py', + 'PYMODULE'), + ('email.policy', + 'd:\\applications\\amacpmda3\\lib\\email\\policy.py', + 'PYMODULE'), + ('email.message', + 'd:\\applications\\amacpmda3\\lib\\email\\message.py', + 'PYMODULE'), + ('bz2', 'd:\\applications\\amacpmda3\\lib\\bz2.py', 'PYMODULE'), + ('lzma', 'd:\\applications\\amacpmda3\\lib\\lzma.py', 'PYMODULE'), + ('_compression', + 'd:\\applications\\amacpmda3\\lib\\_compression.py', + 'PYMODULE'), + ('gzip', 'd:\\applications\\amacpmda3\\lib\\gzip.py', 'PYMODULE'), + ('tarfile', 'd:\\applications\\amacpmda3\\lib\\tarfile.py', 'PYMODULE'), + ('py_compile', 'd:\\applications\\amacpmda3\\lib\\py_compile.py', 'PYMODULE'), + ('zipfile', 'd:\\applications\\amacpmda3\\lib\\zipfile.py', 'PYMODULE'), + ('shutil', 'd:\\applications\\amacpmda3\\lib\\shutil.py', 'PYMODULE'), + ('socket', 'd:\\applications\\amacpmda3\\lib\\socket.py', 'PYMODULE'), + ('webbrowser', 'd:\\applications\\amacpmda3\\lib\\webbrowser.py', 'PYMODULE'), + ('pydoc', 'd:\\applications\\amacpmda3\\lib\\pydoc.py', 'PYMODULE'), + ('getopt', 'd:\\applications\\amacpmda3\\lib\\getopt.py', 'PYMODULE'), + ('pdb', 'd:\\applications\\amacpmda3\\lib\\pdb.py', 'PYMODULE'), + ('unittest.util', + 'd:\\applications\\amacpmda3\\lib\\unittest\\util.py', + 'PYMODULE'), + ('unittest.result', + 'd:\\applications\\amacpmda3\\lib\\unittest\\result.py', + 'PYMODULE'), + ('string', 'd:\\applications\\amacpmda3\\lib\\string.py', 'PYMODULE'), + ('logging', + 'd:\\applications\\amacpmda3\\lib\\logging\\__init__.py', + 'PYMODULE'), + ('unittest.case', + 'd:\\applications\\amacpmda3\\lib\\unittest\\case.py', + 'PYMODULE'), + ('unittest.suite', + 'd:\\applications\\amacpmda3\\lib\\unittest\\suite.py', + 'PYMODULE'), + ('unittest.loader', + 'd:\\applications\\amacpmda3\\lib\\unittest\\loader.py', + 'PYMODULE'), + ('unittest.runner', + 'd:\\applications\\amacpmda3\\lib\\unittest\\runner.py', + 'PYMODULE'), + ('unittest.main', + 'd:\\applications\\amacpmda3\\lib\\unittest\\main.py', + 'PYMODULE'), + ('unittest.signals', + 'd:\\applications\\amacpmda3\\lib\\unittest\\signals.py', + 'PYMODULE'), + ('unittest', + 'd:\\applications\\amacpmda3\\lib\\unittest\\__init__.py', + 'PYMODULE'), + ('doctest', 'd:\\applications\\amacpmda3\\lib\\doctest.py', 'PYMODULE'), + ('pprint', 'd:\\applications\\amacpmda3\\lib\\pprint.py', 'PYMODULE'), + ('tracemalloc', + 'd:\\applications\\amacpmda3\\lib\\tracemalloc.py', + 'PYMODULE'), + ('warnings', 'd:\\applications\\amacpmda3\\lib\\warnings.py', 'PYMODULE'), + ('enum', 'd:\\applications\\amacpmda3\\lib\\enum.py', 'PYMODULE'), + ('signal', 'd:\\applications\\amacpmda3\\lib\\signal.py', 'PYMODULE'), + ('contextlib', 'd:\\applications\\amacpmda3\\lib\\contextlib.py', 'PYMODULE'), + ('_threading_local', + 'd:\\applications\\amacpmda3\\lib\\_threading_local.py', + 'PYMODULE'), + ('threading', 'd:\\applications\\amacpmda3\\lib\\threading.py', 'PYMODULE'), + ('selectors', 'd:\\applications\\amacpmda3\\lib\\selectors.py', 'PYMODULE'), + ('_dummy_thread', + 'd:\\applications\\amacpmda3\\lib\\_dummy_thread.py', + 'PYMODULE'), + ('dummy_threading', + 'd:\\applications\\amacpmda3\\lib\\dummy_threading.py', + 'PYMODULE'), + ('subprocess', 'd:\\applications\\amacpmda3\\lib\\subprocess.py', 'PYMODULE'), + ('os', 'd:\\applications\\amacpmda3\\lib\\os.py', 'PYMODULE'), + ('token', 'd:\\applications\\amacpmda3\\lib\\token.py', 'PYMODULE'), + ('copy', 'd:\\applications\\amacpmda3\\lib\\copy.py', 'PYMODULE'), + ('textwrap', 'd:\\applications\\amacpmda3\\lib\\textwrap.py', 'PYMODULE'), + ('struct', 'd:\\applications\\amacpmda3\\lib\\struct.py', 'PYMODULE'), + ('gettext', 'd:\\applications\\amacpmda3\\lib\\gettext.py', 'PYMODULE'), + ('argparse', 'd:\\applications\\amacpmda3\\lib\\argparse.py', 'PYMODULE'), + ('tokenize', 'd:\\applications\\amacpmda3\\lib\\tokenize.py', 'PYMODULE'), + ('random', 'd:\\applications\\amacpmda3\\lib\\random.py', 'PYMODULE'), + ('pickle', 'd:\\applications\\amacpmda3\\lib\\pickle.py', 'PYMODULE')], + [('api-ms-win-crt-heap-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-heap-l1-1-0.dll', + 'BINARY'), + ('VCRUNTIME140.dll', + 'd:\\applications\\amacpmda3\\VCRUNTIME140.dll', + 'BINARY'), + ('api-ms-win-crt-locale-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-locale-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-runtime-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-runtime-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-math-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-math-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-stdio-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-stdio-l1-1-0.dll', + 'BINARY'), + ('python36.dll', 'd:\\applications\\amacpmda3\\python36.dll', 'BINARY'), + ('ucrtbase.dll', 'd:\\applications\\amacpmda3\\ucrtbase.dll', 'BINARY'), + ('api-ms-win-crt-convert-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-convert-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-string-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-string-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-environment-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-environment-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-filesystem-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-filesystem-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-process-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-process-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-conio-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-conio-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-time-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-time-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-synch-l1-2-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-synch-l1-2-0.dll', + 'BINARY'), + ('api-ms-win-core-handle-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-handle-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-file-l2-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-file-l2-1-0.dll', + 'BINARY'), + ('api-ms-win-core-file-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-file-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-processthreads-l1-1-1.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-processthreads-l1-1-1.dll', + 'BINARY'), + ('api-ms-win-core-processenvironment-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-processenvironment-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-file-l1-2-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-file-l1-2-0.dll', + 'BINARY'), + ('api-ms-win-core-rtlsupport-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-rtlsupport-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-debug-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-debug-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-timezone-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-timezone-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-datetime-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-datetime-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-util-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-util-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-errorhandling-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-errorhandling-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-profile-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-profile-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-synch-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-synch-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-libraryloader-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-libraryloader-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-string-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-string-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-localization-l1-2-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-localization-l1-2-0.dll', + 'BINARY'), + ('api-ms-win-core-interlocked-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-interlocked-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-processthreads-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-processthreads-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-heap-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-heap-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-namedpipe-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-namedpipe-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-sysinfo-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-sysinfo-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-console-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-console-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-memory-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-memory-l1-1-0.dll', + 'BINARY'), + ('_ssl', 'd:\\applications\\amacpmda3\\DLLs\\_ssl.pyd', 'EXTENSION'), + ('unicodedata', + 'd:\\applications\\amacpmda3\\DLLs\\unicodedata.pyd', + 'EXTENSION'), + ('pyexpat', 'd:\\applications\\amacpmda3\\DLLs\\pyexpat.pyd', 'EXTENSION'), + ('_hashlib', 'd:\\applications\\amacpmda3\\DLLs\\_hashlib.pyd', 'EXTENSION'), + ('_bz2', 'd:\\applications\\amacpmda3\\DLLs\\_bz2.pyd', 'EXTENSION'), + ('_lzma', 'd:\\applications\\amacpmda3\\DLLs\\_lzma.pyd', 'EXTENSION'), + ('_socket', 'd:\\applications\\amacpmda3\\DLLs\\_socket.pyd', 'EXTENSION'), + ('select', 'd:\\applications\\amacpmda3\\DLLs\\select.pyd', 'EXTENSION'), + ('api-ms-win-crt-utility-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-utility-l1-1-0.dll', + 'BINARY')], + [], + [], + [('base_library.zip', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\build\\handle\\base_library.zip', + 'DATA')], + []) diff --git a/codes/four/build/handle/out00-EXE.toc b/codes/four/build/handle/out00-EXE.toc new file mode 100644 index 0000000..f318f0c --- /dev/null +++ b/codes/four/build/handle/out00-EXE.toc @@ -0,0 +1,173 @@ +('C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\dist\\handle.exe', + True, + False, + False, + None, + None, + False, + False, + '', + True, + 'handle.pkg', + [('out00-PYZ.pyz', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\build\\handle\\out00-PYZ.pyz', + 'PYZ'), + ('struct', 'd:\\applications\\amacpmda3\\lib\\struct.pyo', 'PYMODULE'), + ('pyimod01_os_path', + 'd:\\applications\\amacpmda3\\lib\\site-packages\\PyInstaller\\loader\\pyimod01_os_path.pyc', + 'PYMODULE'), + ('pyimod02_archive', + 'd:\\applications\\amacpmda3\\lib\\site-packages\\PyInstaller\\loader\\pyimod02_archive.pyc', + 'PYMODULE'), + ('pyimod03_importers', + 'd:\\applications\\amacpmda3\\lib\\site-packages\\PyInstaller\\loader\\pyimod03_importers.pyc', + 'PYMODULE'), + ('pyiboot01_bootstrap', + 'd:\\applications\\amacpmda3\\lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py', + 'PYSOURCE'), + ('handle', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\handle.py', + 'PYSOURCE'), + ('api-ms-win-crt-heap-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-heap-l1-1-0.dll', + 'BINARY'), + ('VCRUNTIME140.dll', + 'd:\\applications\\amacpmda3\\VCRUNTIME140.dll', + 'BINARY'), + ('api-ms-win-crt-locale-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-locale-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-runtime-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-runtime-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-math-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-math-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-stdio-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-stdio-l1-1-0.dll', + 'BINARY'), + ('python36.dll', 'd:\\applications\\amacpmda3\\python36.dll', 'BINARY'), + ('ucrtbase.dll', 'd:\\applications\\amacpmda3\\ucrtbase.dll', 'BINARY'), + ('api-ms-win-crt-convert-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-convert-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-string-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-string-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-environment-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-environment-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-filesystem-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-filesystem-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-process-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-process-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-conio-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-conio-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-time-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-time-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-synch-l1-2-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-synch-l1-2-0.dll', + 'BINARY'), + ('api-ms-win-core-handle-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-handle-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-file-l2-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-file-l2-1-0.dll', + 'BINARY'), + ('api-ms-win-core-file-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-file-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-processthreads-l1-1-1.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-processthreads-l1-1-1.dll', + 'BINARY'), + ('api-ms-win-core-processenvironment-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-processenvironment-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-file-l1-2-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-file-l1-2-0.dll', + 'BINARY'), + ('api-ms-win-core-rtlsupport-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-rtlsupport-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-debug-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-debug-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-timezone-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-timezone-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-datetime-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-datetime-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-util-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-util-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-errorhandling-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-errorhandling-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-profile-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-profile-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-synch-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-synch-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-libraryloader-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-libraryloader-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-string-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-string-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-localization-l1-2-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-localization-l1-2-0.dll', + 'BINARY'), + ('api-ms-win-core-interlocked-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-interlocked-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-processthreads-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-processthreads-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-heap-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-heap-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-namedpipe-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-namedpipe-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-sysinfo-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-sysinfo-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-console-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-console-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-memory-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-memory-l1-1-0.dll', + 'BINARY'), + ('_ssl', 'd:\\applications\\amacpmda3\\DLLs\\_ssl.pyd', 'EXTENSION'), + ('unicodedata', + 'd:\\applications\\amacpmda3\\DLLs\\unicodedata.pyd', + 'EXTENSION'), + ('pyexpat', 'd:\\applications\\amacpmda3\\DLLs\\pyexpat.pyd', 'EXTENSION'), + ('_hashlib', 'd:\\applications\\amacpmda3\\DLLs\\_hashlib.pyd', 'EXTENSION'), + ('_bz2', 'd:\\applications\\amacpmda3\\DLLs\\_bz2.pyd', 'EXTENSION'), + ('_lzma', 'd:\\applications\\amacpmda3\\DLLs\\_lzma.pyd', 'EXTENSION'), + ('_socket', 'd:\\applications\\amacpmda3\\DLLs\\_socket.pyd', 'EXTENSION'), + ('select', 'd:\\applications\\amacpmda3\\DLLs\\select.pyd', 'EXTENSION'), + ('api-ms-win-crt-utility-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-utility-l1-1-0.dll', + 'BINARY'), + ('base_library.zip', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\build\\handle\\base_library.zip', + 'DATA'), + ('handle.exe.manifest', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\build\\handle\\handle.exe.manifest', + 'BINARY'), + ('pyi-windows-manifest-filename handle.exe.manifest', '', 'OPTION')], + [], + False, + False, + 1530888531, + [('run.exe', + 'd:\\applications\\amacpmda3\\lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit\\run.exe', + 'EXECUTABLE')]) diff --git a/codes/four/build/handle/out00-PKG.pkg b/codes/four/build/handle/out00-PKG.pkg new file mode 100644 index 0000000..3b96530 Binary files /dev/null and b/codes/four/build/handle/out00-PKG.pkg differ diff --git a/codes/four/build/handle/out00-PKG.toc b/codes/four/build/handle/out00-PKG.toc new file mode 100644 index 0000000..d38323b --- /dev/null +++ b/codes/four/build/handle/out00-PKG.toc @@ -0,0 +1,166 @@ +('C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\build\\handle\\out00-PKG.pkg', + {'BINARY': 1, + 'DATA': 1, + 'EXECUTABLE': 1, + 'EXTENSION': 1, + 'PYMODULE': 1, + 'PYSOURCE': 1, + 'PYZ': 0}, + [('out00-PYZ.pyz', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\build\\handle\\out00-PYZ.pyz', + 'PYZ'), + ('struct', 'd:\\applications\\amacpmda3\\lib\\struct.pyo', 'PYMODULE'), + ('pyimod01_os_path', + 'd:\\applications\\amacpmda3\\lib\\site-packages\\PyInstaller\\loader\\pyimod01_os_path.pyc', + 'PYMODULE'), + ('pyimod02_archive', + 'd:\\applications\\amacpmda3\\lib\\site-packages\\PyInstaller\\loader\\pyimod02_archive.pyc', + 'PYMODULE'), + ('pyimod03_importers', + 'd:\\applications\\amacpmda3\\lib\\site-packages\\PyInstaller\\loader\\pyimod03_importers.pyc', + 'PYMODULE'), + ('pyiboot01_bootstrap', + 'd:\\applications\\amacpmda3\\lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py', + 'PYSOURCE'), + ('handle', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\handle.py', + 'PYSOURCE'), + ('api-ms-win-crt-heap-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-heap-l1-1-0.dll', + 'BINARY'), + ('VCRUNTIME140.dll', + 'd:\\applications\\amacpmda3\\VCRUNTIME140.dll', + 'BINARY'), + ('api-ms-win-crt-locale-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-locale-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-runtime-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-runtime-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-math-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-math-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-stdio-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-stdio-l1-1-0.dll', + 'BINARY'), + ('python36.dll', 'd:\\applications\\amacpmda3\\python36.dll', 'BINARY'), + ('ucrtbase.dll', 'd:\\applications\\amacpmda3\\ucrtbase.dll', 'BINARY'), + ('api-ms-win-crt-convert-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-convert-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-string-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-string-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-environment-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-environment-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-filesystem-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-filesystem-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-process-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-process-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-conio-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-conio-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-crt-time-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-time-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-synch-l1-2-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-synch-l1-2-0.dll', + 'BINARY'), + ('api-ms-win-core-handle-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-handle-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-file-l2-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-file-l2-1-0.dll', + 'BINARY'), + ('api-ms-win-core-file-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-file-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-processthreads-l1-1-1.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-processthreads-l1-1-1.dll', + 'BINARY'), + ('api-ms-win-core-processenvironment-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-processenvironment-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-file-l1-2-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-file-l1-2-0.dll', + 'BINARY'), + ('api-ms-win-core-rtlsupport-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-rtlsupport-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-debug-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-debug-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-timezone-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-timezone-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-datetime-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-datetime-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-util-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-util-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-errorhandling-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-errorhandling-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-profile-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-profile-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-synch-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-synch-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-libraryloader-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-libraryloader-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-string-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-string-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-localization-l1-2-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-localization-l1-2-0.dll', + 'BINARY'), + ('api-ms-win-core-interlocked-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-interlocked-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-processthreads-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-processthreads-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-heap-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-heap-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-namedpipe-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-namedpipe-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-sysinfo-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-sysinfo-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-console-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-console-l1-1-0.dll', + 'BINARY'), + ('api-ms-win-core-memory-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-core-memory-l1-1-0.dll', + 'BINARY'), + ('_ssl', 'd:\\applications\\amacpmda3\\DLLs\\_ssl.pyd', 'EXTENSION'), + ('unicodedata', + 'd:\\applications\\amacpmda3\\DLLs\\unicodedata.pyd', + 'EXTENSION'), + ('pyexpat', 'd:\\applications\\amacpmda3\\DLLs\\pyexpat.pyd', 'EXTENSION'), + ('_hashlib', 'd:\\applications\\amacpmda3\\DLLs\\_hashlib.pyd', 'EXTENSION'), + ('_bz2', 'd:\\applications\\amacpmda3\\DLLs\\_bz2.pyd', 'EXTENSION'), + ('_lzma', 'd:\\applications\\amacpmda3\\DLLs\\_lzma.pyd', 'EXTENSION'), + ('_socket', 'd:\\applications\\amacpmda3\\DLLs\\_socket.pyd', 'EXTENSION'), + ('select', 'd:\\applications\\amacpmda3\\DLLs\\select.pyd', 'EXTENSION'), + ('api-ms-win-crt-utility-l1-1-0.dll', + 'd:\\applications\\amacpmda3\\api-ms-win-crt-utility-l1-1-0.dll', + 'BINARY'), + ('base_library.zip', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\build\\handle\\base_library.zip', + 'DATA'), + ('handle.exe.manifest', + 'C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\build\\handle\\handle.exe.manifest', + 'BINARY'), + ('pyi-windows-manifest-filename handle.exe.manifest', '', 'OPTION')], + False, + False, + False) diff --git a/codes/four/build/handle/out00-PYZ.pyz b/codes/four/build/handle/out00-PYZ.pyz new file mode 100644 index 0000000..ee25ebb Binary files /dev/null and b/codes/four/build/handle/out00-PYZ.pyz differ diff --git a/codes/four/build/handle/out00-PYZ.toc b/codes/four/build/handle/out00-PYZ.toc new file mode 100644 index 0000000..25e0069 --- /dev/null +++ b/codes/four/build/handle/out00-PYZ.toc @@ -0,0 +1,261 @@ +('C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four\\build\\handle\\out00-PYZ.pyz', + [('ntpath', 'd:\\applications\\amacpmda3\\lib\\ntpath.py', 'PYMODULE'), + ('_strptime', 'd:\\applications\\amacpmda3\\lib\\_strptime.py', 'PYMODULE'), + ('datetime', 'd:\\applications\\amacpmda3\\lib\\datetime.py', 'PYMODULE'), + ('stringprep', 'd:\\applications\\amacpmda3\\lib\\stringprep.py', 'PYMODULE'), + ('stat', 'd:\\applications\\amacpmda3\\lib\\stat.py', 'PYMODULE'), + ('genericpath', + 'd:\\applications\\amacpmda3\\lib\\genericpath.py', + 'PYMODULE'), + ('posixpath', 'd:\\applications\\amacpmda3\\lib\\posixpath.py', 'PYMODULE'), + ('fnmatch', 'd:\\applications\\amacpmda3\\lib\\fnmatch.py', 'PYMODULE'), + ('_compat_pickle', + 'd:\\applications\\amacpmda3\\lib\\_compat_pickle.py', + 'PYMODULE'), + ('__future__', 'd:\\applications\\amacpmda3\\lib\\__future__.py', 'PYMODULE'), + ('difflib', 'd:\\applications\\amacpmda3\\lib\\difflib.py', 'PYMODULE'), + ('ast', 'd:\\applications\\amacpmda3\\lib\\ast.py', 'PYMODULE'), + ('inspect', 'd:\\applications\\amacpmda3\\lib\\inspect.py', 'PYMODULE'), + ('cmd', 'd:\\applications\\amacpmda3\\lib\\cmd.py', 'PYMODULE'), + ('bdb', 'd:\\applications\\amacpmda3\\lib\\bdb.py', 'PYMODULE'), + ('opcode', 'd:\\applications\\amacpmda3\\lib\\opcode.py', 'PYMODULE'), + ('dis', 'd:\\applications\\amacpmda3\\lib\\dis.py', 'PYMODULE'), + ('codeop', 'd:\\applications\\amacpmda3\\lib\\codeop.py', 'PYMODULE'), + ('code', 'd:\\applications\\amacpmda3\\lib\\code.py', 'PYMODULE'), + ('glob', 'd:\\applications\\amacpmda3\\lib\\glob.py', 'PYMODULE'), + ('shlex', 'd:\\applications\\amacpmda3\\lib\\shlex.py', 'PYMODULE'), + ('importlib._bootstrap', + 'd:\\applications\\amacpmda3\\lib\\importlib\\_bootstrap.py', + 'PYMODULE'), + ('importlib._bootstrap_external', + 'd:\\applications\\amacpmda3\\lib\\importlib\\_bootstrap_external.py', + 'PYMODULE'), + ('importlib.machinery', + 'd:\\applications\\amacpmda3\\lib\\importlib\\machinery.py', + 'PYMODULE'), + ('importlib.util', + 'd:\\applications\\amacpmda3\\lib\\importlib\\util.py', + 'PYMODULE'), + ('importlib.abc', + 'd:\\applications\\amacpmda3\\lib\\importlib\\abc.py', + 'PYMODULE'), + ('importlib', + 'd:\\applications\\amacpmda3\\lib\\importlib\\__init__.py', + 'PYMODULE'), + ('pkgutil', 'd:\\applications\\amacpmda3\\lib\\pkgutil.py', 'PYMODULE'), + ('xml', 'd:\\applications\\amacpmda3\\lib\\xml\\__init__.py', 'PYMODULE'), + ('xml.sax.expatreader', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\expatreader.py', + 'PYMODULE'), + ('xml.sax.saxutils', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\saxutils.py', + 'PYMODULE'), + ('urllib.request', + 'd:\\applications\\amacpmda3\\lib\\urllib\\request.py', + 'PYMODULE'), + ('getpass', 'd:\\applications\\amacpmda3\\lib\\getpass.py', 'PYMODULE'), + ('nturl2path', 'd:\\applications\\amacpmda3\\lib\\nturl2path.py', 'PYMODULE'), + ('ftplib', 'd:\\applications\\amacpmda3\\lib\\ftplib.py', 'PYMODULE'), + ('netrc', 'd:\\applications\\amacpmda3\\lib\\netrc.py', 'PYMODULE'), + ('http.cookiejar', + 'd:\\applications\\amacpmda3\\lib\\http\\cookiejar.py', + 'PYMODULE'), + ('urllib.response', + 'd:\\applications\\amacpmda3\\lib\\urllib\\response.py', + 'PYMODULE'), + ('urllib.error', + 'd:\\applications\\amacpmda3\\lib\\urllib\\error.py', + 'PYMODULE'), + ('xml.sax', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\__init__.py', + 'PYMODULE'), + ('xml.sax.handler', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\handler.py', + 'PYMODULE'), + ('xml.sax._exceptions', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\_exceptions.py', + 'PYMODULE'), + ('xml.sax.xmlreader', + 'd:\\applications\\amacpmda3\\lib\\xml\\sax\\xmlreader.py', + 'PYMODULE'), + ('xml.parsers', + 'd:\\applications\\amacpmda3\\lib\\xml\\parsers\\__init__.py', + 'PYMODULE'), + ('xml.parsers.expat', + 'd:\\applications\\amacpmda3\\lib\\xml\\parsers\\expat.py', + 'PYMODULE'), + ('plistlib', 'd:\\applications\\amacpmda3\\lib\\plistlib.py', 'PYMODULE'), + ('platform', 'd:\\applications\\amacpmda3\\lib\\platform.py', 'PYMODULE'), + ('urllib.parse', + 'd:\\applications\\amacpmda3\\lib\\urllib\\parse.py', + 'PYMODULE'), + ('tempfile', 'd:\\applications\\amacpmda3\\lib\\tempfile.py', 'PYMODULE'), + ('tty', 'd:\\applications\\amacpmda3\\lib\\tty.py', 'PYMODULE'), + ('pydoc_data', + 'd:\\applications\\amacpmda3\\lib\\pydoc_data\\__init__.py', + 'PYMODULE'), + ('pydoc_data.topics', + 'd:\\applications\\amacpmda3\\lib\\pydoc_data\\topics.py', + 'PYMODULE'), + ('html.entities', + 'd:\\applications\\amacpmda3\\lib\\html\\entities.py', + 'PYMODULE'), + ('html', 'd:\\applications\\amacpmda3\\lib\\html\\__init__.py', 'PYMODULE'), + ('ipaddress', 'd:\\applications\\amacpmda3\\lib\\ipaddress.py', 'PYMODULE'), + ('ssl', 'd:\\applications\\amacpmda3\\lib\\ssl.py', 'PYMODULE'), + ('http.client', + 'd:\\applications\\amacpmda3\\lib\\http\\client.py', + 'PYMODULE'), + ('mimetypes', 'd:\\applications\\amacpmda3\\lib\\mimetypes.py', 'PYMODULE'), + ('socketserver', + 'd:\\applications\\amacpmda3\\lib\\socketserver.py', + 'PYMODULE'), + ('http', 'd:\\applications\\amacpmda3\\lib\\http\\__init__.py', 'PYMODULE'), + ('http.server', + 'd:\\applications\\amacpmda3\\lib\\http\\server.py', + 'PYMODULE'), + ('optparse', 'd:\\applications\\amacpmda3\\lib\\optparse.py', 'PYMODULE'), + ('uu', 'd:\\applications\\amacpmda3\\lib\\uu.py', 'PYMODULE'), + ('quopri', 'd:\\applications\\amacpmda3\\lib\\quopri.py', 'PYMODULE'), + ('email.feedparser', + 'd:\\applications\\amacpmda3\\lib\\email\\feedparser.py', + 'PYMODULE'), + ('email.parser', + 'd:\\applications\\amacpmda3\\lib\\email\\parser.py', + 'PYMODULE'), + ('email', 'd:\\applications\\amacpmda3\\lib\\email\\__init__.py', 'PYMODULE'), + ('calendar', 'd:\\applications\\amacpmda3\\lib\\calendar.py', 'PYMODULE'), + ('email._parseaddr', + 'd:\\applications\\amacpmda3\\lib\\email\\_parseaddr.py', + 'PYMODULE'), + ('email.utils', + 'd:\\applications\\amacpmda3\\lib\\email\\utils.py', + 'PYMODULE'), + ('email.errors', + 'd:\\applications\\amacpmda3\\lib\\email\\errors.py', + 'PYMODULE'), + ('email.header', + 'd:\\applications\\amacpmda3\\lib\\email\\header.py', + 'PYMODULE'), + ('email._policybase', + 'd:\\applications\\amacpmda3\\lib\\email\\_policybase.py', + 'PYMODULE'), + ('email.base64mime', + 'd:\\applications\\amacpmda3\\lib\\email\\base64mime.py', + 'PYMODULE'), + ('email.encoders', + 'd:\\applications\\amacpmda3\\lib\\email\\encoders.py', + 'PYMODULE'), + ('email.charset', + 'd:\\applications\\amacpmda3\\lib\\email\\charset.py', + 'PYMODULE'), + ('base64', 'd:\\applications\\amacpmda3\\lib\\base64.py', 'PYMODULE'), + ('email._encoded_words', + 'd:\\applications\\amacpmda3\\lib\\email\\_encoded_words.py', + 'PYMODULE'), + ('hashlib', 'd:\\applications\\amacpmda3\\lib\\hashlib.py', 'PYMODULE'), + ('bisect', 'd:\\applications\\amacpmda3\\lib\\bisect.py', 'PYMODULE'), + ('email.generator', + 'd:\\applications\\amacpmda3\\lib\\email\\generator.py', + 'PYMODULE'), + ('email.iterators', + 'd:\\applications\\amacpmda3\\lib\\email\\iterators.py', + 'PYMODULE'), + ('urllib', + 'd:\\applications\\amacpmda3\\lib\\urllib\\__init__.py', + 'PYMODULE'), + ('email._header_value_parser', + 'd:\\applications\\amacpmda3\\lib\\email\\_header_value_parser.py', + 'PYMODULE'), + ('email.headerregistry', + 'd:\\applications\\amacpmda3\\lib\\email\\headerregistry.py', + 'PYMODULE'), + ('email.quoprimime', + 'd:\\applications\\amacpmda3\\lib\\email\\quoprimime.py', + 'PYMODULE'), + ('email.contentmanager', + 'd:\\applications\\amacpmda3\\lib\\email\\contentmanager.py', + 'PYMODULE'), + ('email.policy', + 'd:\\applications\\amacpmda3\\lib\\email\\policy.py', + 'PYMODULE'), + ('email.message', + 'd:\\applications\\amacpmda3\\lib\\email\\message.py', + 'PYMODULE'), + ('bz2', 'd:\\applications\\amacpmda3\\lib\\bz2.py', 'PYMODULE'), + ('lzma', 'd:\\applications\\amacpmda3\\lib\\lzma.py', 'PYMODULE'), + ('_compression', + 'd:\\applications\\amacpmda3\\lib\\_compression.py', + 'PYMODULE'), + ('gzip', 'd:\\applications\\amacpmda3\\lib\\gzip.py', 'PYMODULE'), + ('tarfile', 'd:\\applications\\amacpmda3\\lib\\tarfile.py', 'PYMODULE'), + ('py_compile', 'd:\\applications\\amacpmda3\\lib\\py_compile.py', 'PYMODULE'), + ('zipfile', 'd:\\applications\\amacpmda3\\lib\\zipfile.py', 'PYMODULE'), + ('shutil', 'd:\\applications\\amacpmda3\\lib\\shutil.py', 'PYMODULE'), + ('socket', 'd:\\applications\\amacpmda3\\lib\\socket.py', 'PYMODULE'), + ('webbrowser', 'd:\\applications\\amacpmda3\\lib\\webbrowser.py', 'PYMODULE'), + ('pydoc', 'd:\\applications\\amacpmda3\\lib\\pydoc.py', 'PYMODULE'), + ('getopt', 'd:\\applications\\amacpmda3\\lib\\getopt.py', 'PYMODULE'), + ('pdb', 'd:\\applications\\amacpmda3\\lib\\pdb.py', 'PYMODULE'), + ('unittest.util', + 'd:\\applications\\amacpmda3\\lib\\unittest\\util.py', + 'PYMODULE'), + ('unittest.result', + 'd:\\applications\\amacpmda3\\lib\\unittest\\result.py', + 'PYMODULE'), + ('string', 'd:\\applications\\amacpmda3\\lib\\string.py', 'PYMODULE'), + ('logging', + 'd:\\applications\\amacpmda3\\lib\\logging\\__init__.py', + 'PYMODULE'), + ('unittest.case', + 'd:\\applications\\amacpmda3\\lib\\unittest\\case.py', + 'PYMODULE'), + ('unittest.suite', + 'd:\\applications\\amacpmda3\\lib\\unittest\\suite.py', + 'PYMODULE'), + ('unittest.loader', + 'd:\\applications\\amacpmda3\\lib\\unittest\\loader.py', + 'PYMODULE'), + ('unittest.runner', + 'd:\\applications\\amacpmda3\\lib\\unittest\\runner.py', + 'PYMODULE'), + ('unittest.main', + 'd:\\applications\\amacpmda3\\lib\\unittest\\main.py', + 'PYMODULE'), + ('unittest.signals', + 'd:\\applications\\amacpmda3\\lib\\unittest\\signals.py', + 'PYMODULE'), + ('unittest', + 'd:\\applications\\amacpmda3\\lib\\unittest\\__init__.py', + 'PYMODULE'), + ('doctest', 'd:\\applications\\amacpmda3\\lib\\doctest.py', 'PYMODULE'), + ('pprint', 'd:\\applications\\amacpmda3\\lib\\pprint.py', 'PYMODULE'), + ('tracemalloc', + 'd:\\applications\\amacpmda3\\lib\\tracemalloc.py', + 'PYMODULE'), + ('warnings', 'd:\\applications\\amacpmda3\\lib\\warnings.py', 'PYMODULE'), + ('enum', 'd:\\applications\\amacpmda3\\lib\\enum.py', 'PYMODULE'), + ('signal', 'd:\\applications\\amacpmda3\\lib\\signal.py', 'PYMODULE'), + ('contextlib', 'd:\\applications\\amacpmda3\\lib\\contextlib.py', 'PYMODULE'), + ('_threading_local', + 'd:\\applications\\amacpmda3\\lib\\_threading_local.py', + 'PYMODULE'), + ('threading', 'd:\\applications\\amacpmda3\\lib\\threading.py', 'PYMODULE'), + ('selectors', 'd:\\applications\\amacpmda3\\lib\\selectors.py', 'PYMODULE'), + ('_dummy_thread', + 'd:\\applications\\amacpmda3\\lib\\_dummy_thread.py', + 'PYMODULE'), + ('dummy_threading', + 'd:\\applications\\amacpmda3\\lib\\dummy_threading.py', + 'PYMODULE'), + ('subprocess', 'd:\\applications\\amacpmda3\\lib\\subprocess.py', 'PYMODULE'), + ('os', 'd:\\applications\\amacpmda3\\lib\\os.py', 'PYMODULE'), + ('token', 'd:\\applications\\amacpmda3\\lib\\token.py', 'PYMODULE'), + ('copy', 'd:\\applications\\amacpmda3\\lib\\copy.py', 'PYMODULE'), + ('textwrap', 'd:\\applications\\amacpmda3\\lib\\textwrap.py', 'PYMODULE'), + ('struct', 'd:\\applications\\amacpmda3\\lib\\struct.py', 'PYMODULE'), + ('gettext', 'd:\\applications\\amacpmda3\\lib\\gettext.py', 'PYMODULE'), + ('argparse', 'd:\\applications\\amacpmda3\\lib\\argparse.py', 'PYMODULE'), + ('tokenize', 'd:\\applications\\amacpmda3\\lib\\tokenize.py', 'PYMODULE'), + ('random', 'd:\\applications\\amacpmda3\\lib\\random.py', 'PYMODULE'), + ('pickle', 'd:\\applications\\amacpmda3\\lib\\pickle.py', 'PYMODULE')]) diff --git a/codes/four/build/handle/warnhandle.txt b/codes/four/build/handle/warnhandle.txt new file mode 100644 index 0000000..4c6e960 --- /dev/null +++ b/codes/four/build/handle/warnhandle.txt @@ -0,0 +1,17 @@ +missing module named resource - imported by posix, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named posix - imported by os, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named _posixsubprocess - imported by subprocess, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named 'org.python' - imported by pickle, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py, xml.sax +missing module named readline - imported by cmd, code, pdb, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +excluded module named _frozen_importlib - imported by importlib, importlib.abc, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named _frozen_importlib_external - imported by importlib._bootstrap, importlib, importlib.abc, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named _winreg - imported by platform, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named _scproxy - imported by urllib.request +missing module named java - imported by platform, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named 'java.lang' - imported by platform, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py, xml.sax._exceptions +missing module named vms_lib - imported by platform, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named termios - imported by tty, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py, getpass +missing module named grp - imported by shutil, tarfile, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named pwd - imported by posixpath, shutil, tarfile, http.server, webbrowser, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py, netrc, getpass +missing module named _dummy_threading - imported by dummy_threading, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py +missing module named org - imported by copy, C:\Users\mbinary\gitrepo\algorithm\codes\four\handle.py diff --git a/codes/four/build/handle/xref-handle.html b/codes/four/build/handle/xref-handle.html new file mode 100644 index 0000000..8863170 --- /dev/null +++ b/codes/four/build/handle/xref-handle.html @@ -0,0 +1,8299 @@ + + + modulegraph cross reference for handle.py + + + +

modulegraph cross reference for handle.py

+ +
+ + handle.py +Script
+imports: + 'java.lang' + • 'org.python' + • __future__ + • _ast + • _bisect + • _blake2 + • _bootlocale + • _bz2 + • _codecs + • _codecs_cn + • _codecs_hk + • _codecs_iso2022 + • _codecs_jp + • _codecs_kr + • _codecs_tw + • _collections + • _collections_abc + • _compat_pickle + • _compression + • _datetime + • _dummy_thread + • _dummy_threading + • _frozen_importlib + • _frozen_importlib_external + • _functools + • _hashlib + • _heapq + • _imp + • _io + • _locale + • _lzma + • _md5 + • _multibytecodec + • _opcode + • _operator + • _pickle + • _posixsubprocess + • _random + • _sha1 + • _sha256 + • _sha3 + • _sha512 + • _signal + • _socket + • _sre + • _ssl + • _stat + • _string + • _strptime + • _struct + • _thread + • _threading_local + • _tracemalloc + • _warnings + • _weakref + • _weakrefset + • _winapi + • _winreg + • abc + • argparse + • ast + • atexit + • base64 + • bdb + • binascii + • bisect + • builtins + • bz2 + • calendar + • cmd + • code + • codecs + • codeop + • collections + • collections.abc + • contextlib + • copy + • copyreg + • datetime + • difflib + • dis + • doctest + • dummy_threading + • email + • email._encoded_words + • email._header_value_parser + • email._parseaddr + • email._policybase + • email.base64mime + • email.charset + • email.contentmanager + • email.encoders + • email.errors + • email.feedparser + • email.generator + • email.header + • email.headerregistry + • email.iterators + • email.message + • email.parser + • email.policy + • email.quoprimime + • email.utils + • encodings + • encodings.aliases + • encodings.ascii + • encodings.base64_codec + • encodings.big5 + • encodings.big5hkscs + • encodings.bz2_codec + • encodings.charmap + • encodings.cp037 + • encodings.cp1006 + • encodings.cp1026 + • encodings.cp1125 + • encodings.cp1140 + • encodings.cp1250 + • encodings.cp1251 + • encodings.cp1252 + • encodings.cp1253 + • encodings.cp1254 + • encodings.cp1255 + • encodings.cp1256 + • encodings.cp1257 + • encodings.cp1258 + • encodings.cp273 + • encodings.cp424 + • encodings.cp437 + • encodings.cp500 + • encodings.cp65001 + • encodings.cp720 + • encodings.cp737 + • encodings.cp775 + • encodings.cp850 + • encodings.cp852 + • encodings.cp855 + • encodings.cp856 + • encodings.cp857 + • encodings.cp858 + • encodings.cp860 + • encodings.cp861 + • encodings.cp862 + • encodings.cp863 + • encodings.cp864 + • encodings.cp865 + • encodings.cp866 + • encodings.cp869 + • encodings.cp874 + • encodings.cp875 + • encodings.cp932 + • encodings.cp949 + • encodings.cp950 + • encodings.euc_jis_2004 + • encodings.euc_jisx0213 + • encodings.euc_jp + • encodings.euc_kr + • encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hex_codec + • encodings.hp_roman8 + • encodings.hz + • encodings.idna + • encodings.iso2022_jp + • encodings.iso2022_jp_1 + • encodings.iso2022_jp_2 + • encodings.iso2022_jp_2004 + • encodings.iso2022_jp_3 + • encodings.iso2022_jp_ext + • encodings.iso2022_kr + • encodings.iso8859_1 + • encodings.iso8859_10 + • encodings.iso8859_11 + • encodings.iso8859_13 + • encodings.iso8859_14 + • encodings.iso8859_15 + • encodings.iso8859_16 + • encodings.iso8859_2 + • encodings.iso8859_3 + • encodings.iso8859_4 + • encodings.iso8859_5 + • encodings.iso8859_6 + • encodings.iso8859_7 + • encodings.iso8859_8 + • encodings.iso8859_9 + • encodings.johab + • encodings.koi8_r + • encodings.koi8_t + • encodings.koi8_u + • encodings.kz1048 + • encodings.latin_1 + • encodings.mac_arabic + • encodings.mac_centeuro + • encodings.mac_croatian + • encodings.mac_cyrillic + • encodings.mac_farsi + • encodings.mac_greek + • encodings.mac_iceland + • encodings.mac_latin2 + • encodings.mac_roman + • encodings.mac_romanian + • encodings.mac_turkish + • encodings.mbcs + • encodings.oem + • encodings.palmos + • encodings.ptcp154 + • encodings.punycode + • encodings.quopri_codec + • encodings.raw_unicode_escape + • encodings.rot_13 + • encodings.shift_jis + • encodings.shift_jis_2004 + • encodings.shift_jisx0213 + • encodings.tis_620 + • encodings.undefined + • encodings.unicode_escape + • encodings.unicode_internal + • encodings.utf_16 + • encodings.utf_16_be + • encodings.utf_16_le + • encodings.utf_32 + • encodings.utf_32_be + • encodings.utf_32_le + • encodings.utf_7 + • encodings.utf_8 + • encodings.utf_8_sig + • encodings.uu_codec + • encodings.zlib_codec + • enum + • errno + • fnmatch + • functools + • gc + • genericpath + • getopt + • gettext + • glob + • grp + • gzip + • hashlib + • heapq + • html + • html.entities + • http + • http.client + • http.server + • importlib + • importlib._bootstrap + • importlib._bootstrap_external + • importlib.abc + • importlib.machinery + • importlib.util + • inspect + • io + • ipaddress + • itertools + • java + • keyword + • linecache + • locale + • logging + • lzma + • marshal + • math + • mimetypes + • msvcrt + • nt + • ntpath + • ntpath + • opcode + • operator + • optparse + • org + • os + • pdb + • pickle + • pkgutil + • platform + • plistlib + • posix + • posixpath + • pprint + • pwd + • py_compile + • pydoc + • pydoc_data + • pydoc_data.topics + • pyexpat + • quopri + • random + • re + • readline + • reprlib + • resource + • select + • selectors + • shlex + • shutil + • signal + • socket + • socketserver + • sre_compile + • sre_constants + • sre_parse + • ssl + • stat + • string + • stringprep + • struct + • subprocess + • sys + • tarfile + • tempfile + • termios + • textwrap + • threading + • time + • token + • tokenize + • traceback + • tracemalloc + • tty + • types + • unicodedata + • unittest + • unittest.case + • unittest.loader + • unittest.main + • unittest.result + • unittest.runner + • unittest.signals + • unittest.suite + • unittest.util + • urllib + • urllib.parse + • uu + • vms_lib + • warnings + • weakref + • webbrowser + • winreg + • xml + • xml.parsers + • xml.parsers.expat + • zipfile + • zipimport + • zlib + +
+ +
+ +
+ + 'java.lang' +MissingModule
+imported by: + handle.py + • platform + • xml.sax._exceptions + +
+ +
+ +
+ + 'org.python' +MissingModule
+imported by: + handle.py + • pickle + • xml.sax + +
+ +
+ +
+ + __future__ +SourceModule
+imported by: + codeop + • doctest + • handle.py + +
+ +
+ +
+ + _ast (builtin module)
+imported by: + ast + • handle.py + +
+ +
+ +
+ + _bisect (builtin module)
+imported by: + bisect + • handle.py + +
+ +
+ +
+ + _blake2 (builtin module)
+imported by: + handle.py + • hashlib + +
+ +
+ +
+ + _bootlocale +SourceModule
+imports: + _locale + • locale + • sys + +
+
+imported by: + encodings + • handle.py + • locale + +
+ +
+ +
+ + _bz2 d:\applications\amacpmda3\DLLs\_bz2.pyd
+imported by: + bz2 + • handle.py + +
+ +
+ +
+ + _codecs (builtin module)
+imported by: + codecs + • handle.py + +
+ +
+ +
+ + _codecs_cn (builtin module)
+imported by: + encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hz + • handle.py + +
+ +
+ +
+ + _codecs_hk (builtin module)
+imported by: + encodings.big5hkscs + • handle.py + +
+ +
+ +
+ + _codecs_iso2022 (builtin module) + +
+ +
+ + _codecs_jp (builtin module) + +
+ +
+ + _codecs_kr (builtin module)
+imported by: + encodings.cp949 + • encodings.euc_kr + • encodings.johab + • handle.py + +
+ +
+ +
+ + _codecs_tw (builtin module)
+imported by: + encodings.big5 + • encodings.cp950 + • handle.py + +
+ +
+ +
+ + _collections (builtin module)
+imported by: + collections + • enum + • handle.py + • threading + +
+ +
+ +
+ + _collections_abc +SourceModule
+imports: + abc + • sys + +
+
+imported by: + collections + • collections.abc + • contextlib + • handle.py + • os + • random + +
+ +
+ +
+ + _compat_pickle +SourceModule
+imported by: + _pickle + • handle.py + • pickle + +
+ +
+ +
+ + _compression +SourceModule
+imports: + io + +
+
+imported by: + bz2 + • gzip + • handle.py + • lzma + +
+ +
+ +
+ + _datetime (builtin module)
+imports: + _strptime + • time + +
+
+imported by: + datetime + • handle.py + +
+ +
+ +
+ + _dummy_thread +SourceModule
+imports: + time + • traceback + +
+
+imported by: + _strptime + • dummy_threading + • handle.py + • reprlib + • tempfile + +
+ +
+ +
+ + _dummy_threading +MissingModule
+imported by: + dummy_threading + • handle.py + +
+ +
+ +
+ + _frozen_importlib +ExcludedModule
+imported by: + handle.py + • importlib + • importlib.abc + +
+ +
+ +
+ + _frozen_importlib_external +MissingModule
+imported by: + handle.py + • importlib + • importlib._bootstrap + • importlib.abc + +
+ +
+ +
+ + _functools (builtin module)
+imported by: + functools + • handle.py + +
+ +
+ +
+ + _hashlib d:\applications\amacpmda3\DLLs\_hashlib.pyd
+imported by: + handle.py + • hashlib + +
+ +
+ +
+ + _heapq (builtin module)
+imported by: + handle.py + • heapq + +
+ +
+ +
+ + _imp (builtin module)
+imported by: + handle.py + • importlib + • importlib.machinery + +
+ +
+ +
+ + _io (builtin module)
+imported by: + handle.py + • io + +
+ +
+ +
+ + _locale (builtin module)
+imported by: + _bootlocale + • handle.py + • locale + • re + +
+ +
+ +
+ + _lzma d:\applications\amacpmda3\DLLs\_lzma.pyd
+imported by: + handle.py + • lzma + +
+ +
+ +
+ + _md5 (builtin module)
+imported by: + handle.py + • hashlib + +
+ +
+ + + +
+ + _opcode (builtin module)
+imported by: + handle.py + • opcode + +
+ +
+ +
+ + _operator (builtin module)
+imported by: + handle.py + • operator + +
+ +
+ +
+ + _pickle (builtin module)
+imports: + _compat_pickle + • codecs + • copyreg + +
+
+imported by: + handle.py + • pickle + +
+ +
+ +
+ + _posixsubprocess +MissingModule
+imports: + gc + +
+
+imported by: + handle.py + • subprocess + +
+ +
+ +
+ + _random (builtin module)
+imported by: + handle.py + • random + +
+ +
+ +
+ + _scproxy +MissingModule
+imported by: + urllib.request + +
+ +
+ +
+ + _sha1 (builtin module)
+imported by: + handle.py + • hashlib + +
+ +
+ +
+ + _sha256 (builtin module)
+imported by: + handle.py + • hashlib + +
+ +
+ +
+ + _sha3 (builtin module)
+imported by: + handle.py + • hashlib + +
+ +
+ +
+ + _sha512 (builtin module)
+imported by: + handle.py + • hashlib + +
+ +
+ +
+ + _signal (builtin module)
+imported by: + handle.py + • signal + +
+ +
+ +
+ + _socket d:\applications\amacpmda3\DLLs\_socket.pyd
+imported by: + handle.py + • socket + +
+ +
+ +
+ + _sre (builtin module)
+imports: + copy + • re + +
+
+imported by: + handle.py + • sre_compile + • sre_constants + +
+ +
+ +
+ + _ssl d:\applications\amacpmda3\DLLs\_ssl.pyd
+imports: + socket + +
+
+imported by: + handle.py + • ssl + +
+ +
+ +
+ + _stat (builtin module)
+imported by: + handle.py + • stat + +
+ +
+ +
+ + _string (builtin module)
+imported by: + handle.py + • string + +
+ +
+ +
+ + _strptime +SourceModule
+imports: + _dummy_thread + • _thread + • calendar + • datetime + • locale + • re + • time + +
+
+imported by: + _datetime + • datetime + • handle.py + • time + +
+ +
+ +
+ + _struct (builtin module)
+imported by: + handle.py + • struct + +
+ +
+ +
+ + _thread (builtin module)
+imported by: + _strptime + • functools + • handle.py + • reprlib + • tempfile + • threading + +
+ +
+ +
+ + _threading_local +SourceModule
+imports: + contextlib + • threading + • weakref + +
+
+imported by: + handle.py + • threading + +
+ +
+ +
+ + _tracemalloc (builtin module)
+imported by: + handle.py + • tracemalloc + +
+ +
+ +
+ + _warnings (builtin module)
+imported by: + handle.py + • warnings + +
+ +
+ +
+ + _weakref (builtin module)
+imported by: + _weakrefset + • collections + • handle.py + • weakref + • xml.sax.expatreader + +
+ +
+ +
+ + _weakrefset +SourceModule
+imports: + _weakref + +
+
+imported by: + abc + • handle.py + • threading + • weakref + +
+ +
+ +
+ + _winapi (builtin module)
+imported by: + handle.py + • subprocess + +
+ +
+ +
+ + _winreg +MissingModule
+imported by: + handle.py + • platform + +
+ +
+ +
+ + abc +SourceModule
+imports: + _weakrefset + +
+
+imported by: + _collections_abc + • contextlib + • email._policybase + • functools + • handle.py + • importlib.abc + • inspect + • io + • os + • selectors + +
+ +
+ +
+ + argparse +SourceModule
+imports: + collections + • copy + • gettext + • os + • re + • sys + • textwrap + +
+
+imported by: + calendar + • code + • dis + • doctest + • handle.py + • http.server + • inspect + • pickle + • tarfile + • tokenize + • unittest.main + +
+ +
+ +
+ + ast +SourceModule
+imports: + _ast + • collections + • inspect + +
+
+imported by: + handle.py + • inspect + +
+ +
+ +
+ + atexit (builtin module)
+imported by: + handle.py + • logging + • weakref + +
+ +
+ +
+ + base64 +SourceModule
+imports: + binascii + • getopt + • re + • struct + • sys + • warnings + +
+ + +
+ +
+ + bdb +SourceModule
+imports: + fnmatch + • inspect + • linecache + • os + • reprlib + • sys + +
+
+imported by: + handle.py + • pdb + +
+ +
+ +
+ + binascii (builtin module)
+imported by: + base64 + • email._encoded_words + • email.base64mime + • email.contentmanager + • email.header + • encodings.hex_codec + • encodings.uu_codec + • handle.py + • http.server + • plistlib + • quopri + • uu + • zipfile + +
+ +
+ +
+ + bisect +SourceModule
+imports: + _bisect + +
+
+imported by: + handle.py + • random + • urllib.request + +
+ +
+ +
+ + builtins (builtin module)
+imported by: + bz2 + • codecs + • doctest + • gettext + • gzip + • handle.py + • inspect + • locale + • lzma + • operator + • pydoc + • reprlib + • subprocess + • tarfile + • tokenize + +
+ +
+ +
+ + bz2 +SourceModule
+imports: + _bz2 + • _compression + • builtins + • dummy_threading + • io + • os + • threading + • warnings + +
+
+imported by: + encodings.bz2_codec + • handle.py + • shutil + • tarfile + • zipfile + +
+ +
+ +
+ + calendar +SourceModule
+imports: + argparse + • datetime + • itertools + • locale + • sys + +
+
+imported by: + _strptime + • email._parseaddr + • handle.py + • http.cookiejar + • ssl + +
+ +
+ +
+ + cmd +SourceModule
+imports: + readline + • string + • sys + +
+
+imported by: + handle.py + • pdb + +
+ +
+ +
+ + code +SourceModule
+imports: + argparse + • codeop + • readline + • sys + • traceback + +
+
+imported by: + handle.py + • pdb + +
+ +
+ +
+ + codecs +SourceModule
+imports: + _codecs + • builtins + • encodings + • sys + +
+
+imported by: + _pickle + • encodings + • encodings.ascii + • encodings.base64_codec + • encodings.big5 + • encodings.big5hkscs + • encodings.bz2_codec + • encodings.charmap + • encodings.cp037 + • encodings.cp1006 + • encodings.cp1026 + • encodings.cp1125 + • encodings.cp1140 + • encodings.cp1250 + • encodings.cp1251 + • encodings.cp1252 + • encodings.cp1253 + • encodings.cp1254 + • encodings.cp1255 + • encodings.cp1256 + • encodings.cp1257 + • encodings.cp1258 + • encodings.cp273 + • encodings.cp424 + • encodings.cp437 + • encodings.cp500 + • encodings.cp65001 + • encodings.cp720 + • encodings.cp737 + • encodings.cp775 + • encodings.cp850 + • encodings.cp852 + • encodings.cp855 + • encodings.cp856 + • encodings.cp857 + • encodings.cp858 + • encodings.cp860 + • encodings.cp861 + • encodings.cp862 + • encodings.cp863 + • encodings.cp864 + • encodings.cp865 + • encodings.cp866 + • encodings.cp869 + • encodings.cp874 + • encodings.cp875 + • encodings.cp932 + • encodings.cp949 + • encodings.cp950 + • encodings.euc_jis_2004 + • encodings.euc_jisx0213 + • encodings.euc_jp + • encodings.euc_kr + • encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hex_codec + • encodings.hp_roman8 + • encodings.hz + • encodings.idna + • encodings.iso2022_jp + • encodings.iso2022_jp_1 + • encodings.iso2022_jp_2 + • encodings.iso2022_jp_2004 + • encodings.iso2022_jp_3 + • encodings.iso2022_jp_ext + • encodings.iso2022_kr + • encodings.iso8859_1 + • encodings.iso8859_10 + • encodings.iso8859_11 + • encodings.iso8859_13 + • encodings.iso8859_14 + • encodings.iso8859_15 + • encodings.iso8859_16 + • encodings.iso8859_2 + • encodings.iso8859_3 + • encodings.iso8859_4 + • encodings.iso8859_5 + • encodings.iso8859_6 + • encodings.iso8859_7 + • encodings.iso8859_8 + • encodings.iso8859_9 + • encodings.johab + • encodings.koi8_r + • encodings.koi8_t + • encodings.koi8_u + • encodings.kz1048 + • encodings.latin_1 + • encodings.mac_arabic + • encodings.mac_centeuro + • encodings.mac_croatian + • encodings.mac_cyrillic + • encodings.mac_farsi + • encodings.mac_greek + • encodings.mac_iceland + • encodings.mac_latin2 + • encodings.mac_roman + • encodings.mac_romanian + • encodings.mac_turkish + • encodings.mbcs + • encodings.oem + • encodings.palmos + • encodings.ptcp154 + • encodings.punycode + • encodings.quopri_codec + • encodings.raw_unicode_escape + • encodings.rot_13 + • encodings.shift_jis + • encodings.shift_jis_2004 + • encodings.shift_jisx0213 + • encodings.tis_620 + • encodings.undefined + • encodings.unicode_escape + • encodings.unicode_internal + • encodings.utf_16 + • encodings.utf_16_be + • encodings.utf_16_le + • encodings.utf_32 + • encodings.utf_32_be + • encodings.utf_32_le + • encodings.utf_7 + • encodings.utf_8 + • encodings.utf_8_sig + • encodings.uu_codec + • encodings.zlib_codec + • handle.py + • pickle + • plistlib + • tokenize + • xml.sax.saxutils + +
+ +
+ +
+ + codeop +SourceModule
+imports: + __future__ + +
+
+imported by: + code + • handle.py + +
+ +
+ +
+ + collections +Package
+imports: + _collections + • _collections_abc + • _weakref + • copy + • heapq + • itertools + • keyword + • operator + • reprlib + • sys + • warnings + +
+
+imported by: + argparse + • ast + • collections.abc + • contextlib + • difflib + • dis + • doctest + • email._header_value_parser + • email.feedparser + • enum + • functools + • handle.py + • http.client + • inspect + • locale + • logging + • pkgutil + • platform + • pprint + • pydoc + • selectors + • shlex + • shutil + • ssl + • string + • threading + • tokenize + • traceback + • tracemalloc + • unittest.case + • unittest.util + • urllib.parse + • urllib.request + • weakref + +
+ +
+ +
+ + collections.abc +SourceModule
+imports: + _collections_abc + • collections + +
+
+imported by: + handle.py + • inspect + • types + +
+ +
+ +
+ + contextlib +SourceModule
+imports: + _collections_abc + • abc + • collections + • functools + • sys + +
+
+imported by: + _threading_local + • getpass + • handle.py + • importlib.util + • plistlib + • unittest.case + • urllib.request + +
+ +
+ +
+ + copy +SourceModule
+imports: + copyreg + • org + • types + • weakref + +
+
+imported by: + _sre + • argparse + • collections + • email.generator + • gettext + • handle.py + • http.cookiejar + • http.server + • tarfile + • weakref + • webbrowser + +
+ +
+ +
+ + copyreg +SourceModule
+imported by: + _pickle + • copy + • handle.py + • pickle + • re + +
+ +
+ +
+ + datetime +SourceModule
+imports: + _datetime + • _strptime + • math + • time + +
+
+imported by: + _strptime + • calendar + • email.utils + • handle.py + • http.cookiejar + • plistlib + +
+ +
+ +
+ + difflib +SourceModule
+imports: + collections + • difflib + • doctest + • heapq + • re + +
+
+imported by: + difflib + • doctest + • handle.py + • unittest.case + +
+ +
+ +
+ + dis +SourceModule
+imports: + argparse + • collections + • io + • opcode + • sys + • types + +
+
+imported by: + handle.py + • inspect + • pdb + +
+ +
+ +
+ + doctest +SourceModule
+imports: + __future__ + • argparse + • builtins + • collections + • difflib + • inspect + • io + • linecache + • os + • pdb + • re + • sys + • traceback + • unittest + +
+
+imported by: + difflib + • handle.py + • heapq + • pickle + +
+ +
+ +
+ + dummy_threading +SourceModule
+imports: + _dummy_thread + • _dummy_threading + • sys + • threading + +
+
+imported by: + bz2 + • handle.py + • http.cookiejar + • socketserver + • subprocess + • zipfile + +
+ +
+ + + +
+ + email._encoded_words +SourceModule
+imports: + base64 + • binascii + • email + • email.errors + • functools + • re + • string + +
+
+imported by: + email._header_value_parser + • email.message + • handle.py + +
+ +
+ +
+ + email._header_value_parser +SourceModule
+imports: + collections + • email + • email._encoded_words + • email.errors + • email.utils + • operator + • re + • string + • urllib + +
+
+imported by: + email + • email.headerregistry + • handle.py + +
+ +
+ +
+ + email._parseaddr +SourceModule
+imports: + calendar + • email + • time + +
+
+imported by: + email.utils + • handle.py + +
+ +
+ +
+ + email._policybase +SourceModule
+imports: + abc + • email + • email.charset + • email.header + • email.utils + +
+
+imported by: + email.feedparser + • email.message + • email.parser + • email.policy + • handle.py + +
+ +
+ +
+ + email.base64mime +SourceModule
+imports: + base64 + • binascii + • email + +
+
+imported by: + email.charset + • email.header + • handle.py + +
+ +
+ +
+ + email.charset +SourceModule
+imports: + email + • email.base64mime + • email.encoders + • email.errors + • email.quoprimime + • functools + +
+
+imported by: + email + • email._policybase + • email.contentmanager + • email.header + • email.message + • email.utils + • handle.py + +
+ +
+ +
+ + email.contentmanager +SourceModule
+imports: + binascii + • email + • email.charset + • email.errors + • email.message + • email.quoprimime + +
+
+imported by: + email.policy + • handle.py + +
+ +
+ +
+ + email.encoders +SourceModule
+imports: + base64 + • email + • quopri + +
+
+imported by: + email.charset + • handle.py + +
+ +
+ +
+ + email.errors +SourceModule
+imports: + email + +
+ + +
+ +
+ + email.feedparser +SourceModule
+imports: + collections + • email + • email._policybase + • email.errors + • email.message + • io + • re + +
+
+imported by: + email.parser + • handle.py + +
+ +
+ +
+ + email.generator +SourceModule
+imports: + copy + • email + • email.utils + • io + • random + • re + • sys + • time + +
+
+imported by: + email.message + • handle.py + +
+ +
+ +
+ + email.header +SourceModule
+imports: + binascii + • email + • email.base64mime + • email.charset + • email.errors + • email.quoprimime + • re + +
+
+imported by: + email + • email._policybase + • handle.py + +
+ +
+ +
+ + email.headerregistry +SourceModule
+imports: + email + • email._header_value_parser + • email.errors + • email.utils + • types + +
+
+imported by: + email.policy + • handle.py + +
+ +
+ +
+ + email.iterators +SourceModule
+imports: + email + • io + • sys + +
+
+imported by: + email.message + • handle.py + +
+ +
+ +
+ + email.message +SourceModule
+imports: + email + • email._encoded_words + • email._policybase + • email.charset + • email.errors + • email.generator + • email.iterators + • email.policy + • email.utils + • io + • quopri + • re + • uu + +
+
+imported by: + email.contentmanager + • email.feedparser + • email.policy + • handle.py + • http.client + • pydoc + +
+ +
+ +
+ + email.parser +SourceModule
+imports: + email + • email._policybase + • email.feedparser + • io + +
+
+imported by: + email + • handle.py + • http.client + +
+ +
+ +
+ + email.policy +SourceModule
+imports: + email + • email._policybase + • email.contentmanager + • email.headerregistry + • email.message + • email.utils + • re + +
+
+imported by: + email.message + • handle.py + +
+ +
+ +
+ + email.quoprimime +SourceModule
+imports: + email + • re + • string + +
+
+imported by: + email.charset + • email.contentmanager + • email.header + • handle.py + +
+ +
+ +
+ + email.utils +SourceModule
+imports: + datetime + • email + • email._parseaddr + • email.charset + • os + • random + • re + • socket + • time + • urllib.parse + +
+ + +
+ +
+ + encodings +Package
+imports: + _bootlocale + • codecs + • encodings + • encodings.aliases + • encodings.ascii + • encodings.base64_codec + • encodings.big5 + • encodings.big5hkscs + • encodings.bz2_codec + • encodings.charmap + • encodings.cp037 + • encodings.cp1006 + • encodings.cp1026 + • encodings.cp1125 + • encodings.cp1140 + • encodings.cp1250 + • encodings.cp1251 + • encodings.cp1252 + • encodings.cp1253 + • encodings.cp1254 + • encodings.cp1255 + • encodings.cp1256 + • encodings.cp1257 + • encodings.cp1258 + • encodings.cp273 + • encodings.cp424 + • encodings.cp437 + • encodings.cp500 + • encodings.cp65001 + • encodings.cp720 + • encodings.cp737 + • encodings.cp775 + • encodings.cp850 + • encodings.cp852 + • encodings.cp855 + • encodings.cp856 + • encodings.cp857 + • encodings.cp858 + • encodings.cp860 + • encodings.cp861 + • encodings.cp862 + • encodings.cp863 + • encodings.cp864 + • encodings.cp865 + • encodings.cp866 + • encodings.cp869 + • encodings.cp874 + • encodings.cp875 + • encodings.cp932 + • encodings.cp949 + • encodings.cp950 + • encodings.euc_jis_2004 + • encodings.euc_jisx0213 + • encodings.euc_jp + • encodings.euc_kr + • encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hex_codec + • encodings.hp_roman8 + • encodings.hz + • encodings.idna + • encodings.iso2022_jp + • encodings.iso2022_jp_1 + • encodings.iso2022_jp_2 + • encodings.iso2022_jp_2004 + • encodings.iso2022_jp_3 + • encodings.iso2022_jp_ext + • encodings.iso2022_kr + • encodings.iso8859_1 + • encodings.iso8859_10 + • encodings.iso8859_11 + • encodings.iso8859_13 + • encodings.iso8859_14 + • encodings.iso8859_15 + • encodings.iso8859_16 + • encodings.iso8859_2 + • encodings.iso8859_3 + • encodings.iso8859_4 + • encodings.iso8859_5 + • encodings.iso8859_6 + • encodings.iso8859_7 + • encodings.iso8859_8 + • encodings.iso8859_9 + • encodings.johab + • encodings.koi8_r + • encodings.koi8_t + • encodings.koi8_u + • encodings.kz1048 + • encodings.latin_1 + • encodings.mac_arabic + • encodings.mac_centeuro + • encodings.mac_croatian + • encodings.mac_cyrillic + • encodings.mac_farsi + • encodings.mac_greek + • encodings.mac_iceland + • encodings.mac_latin2 + • encodings.mac_roman + • encodings.mac_romanian + • encodings.mac_turkish + • encodings.mbcs + • encodings.oem + • encodings.palmos + • encodings.ptcp154 + • encodings.punycode + • encodings.quopri_codec + • encodings.raw_unicode_escape + • encodings.rot_13 + • encodings.shift_jis + • encodings.shift_jis_2004 + • encodings.shift_jisx0213 + • encodings.tis_620 + • encodings.undefined + • encodings.unicode_escape + • encodings.unicode_internal + • encodings.utf_16 + • encodings.utf_16_be + • encodings.utf_16_le + • encodings.utf_32 + • encodings.utf_32_be + • encodings.utf_32_le + • encodings.utf_7 + • encodings.utf_8 + • encodings.utf_8_sig + • encodings.uu_codec + • encodings.zlib_codec + • sys + +
+
+imported by: + codecs + • encodings + • encodings.aliases + • encodings.ascii + • encodings.base64_codec + • encodings.big5 + • encodings.big5hkscs + • encodings.bz2_codec + • encodings.charmap + • encodings.cp037 + • encodings.cp1006 + • encodings.cp1026 + • encodings.cp1125 + • encodings.cp1140 + • encodings.cp1250 + • encodings.cp1251 + • encodings.cp1252 + • encodings.cp1253 + • encodings.cp1254 + • encodings.cp1255 + • encodings.cp1256 + • encodings.cp1257 + • encodings.cp1258 + • encodings.cp273 + • encodings.cp424 + • encodings.cp437 + • encodings.cp500 + • encodings.cp65001 + • encodings.cp720 + • encodings.cp737 + • encodings.cp775 + • encodings.cp850 + • encodings.cp852 + • encodings.cp855 + • encodings.cp856 + • encodings.cp857 + • encodings.cp858 + • encodings.cp860 + • encodings.cp861 + • encodings.cp862 + • encodings.cp863 + • encodings.cp864 + • encodings.cp865 + • encodings.cp866 + • encodings.cp869 + • encodings.cp874 + • encodings.cp875 + • encodings.cp932 + • encodings.cp949 + • encodings.cp950 + • encodings.euc_jis_2004 + • encodings.euc_jisx0213 + • encodings.euc_jp + • encodings.euc_kr + • encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hex_codec + • encodings.hp_roman8 + • encodings.hz + • encodings.idna + • encodings.iso2022_jp + • encodings.iso2022_jp_1 + • encodings.iso2022_jp_2 + • encodings.iso2022_jp_2004 + • encodings.iso2022_jp_3 + • encodings.iso2022_jp_ext + • encodings.iso2022_kr + • encodings.iso8859_1 + • encodings.iso8859_10 + • encodings.iso8859_11 + • encodings.iso8859_13 + • encodings.iso8859_14 + • encodings.iso8859_15 + • encodings.iso8859_16 + • encodings.iso8859_2 + • encodings.iso8859_3 + • encodings.iso8859_4 + • encodings.iso8859_5 + • encodings.iso8859_6 + • encodings.iso8859_7 + • encodings.iso8859_8 + • encodings.iso8859_9 + • encodings.johab + • encodings.koi8_r + • encodings.koi8_t + • encodings.koi8_u + • encodings.kz1048 + • encodings.latin_1 + • encodings.mac_arabic + • encodings.mac_centeuro + • encodings.mac_croatian + • encodings.mac_cyrillic + • encodings.mac_farsi + • encodings.mac_greek + • encodings.mac_iceland + • encodings.mac_latin2 + • encodings.mac_roman + • encodings.mac_romanian + • encodings.mac_turkish + • encodings.mbcs + • encodings.oem + • encodings.palmos + • encodings.ptcp154 + • encodings.punycode + • encodings.quopri_codec + • encodings.raw_unicode_escape + • encodings.rot_13 + • encodings.shift_jis + • encodings.shift_jis_2004 + • encodings.shift_jisx0213 + • encodings.tis_620 + • encodings.undefined + • encodings.unicode_escape + • encodings.unicode_internal + • encodings.utf_16 + • encodings.utf_16_be + • encodings.utf_16_le + • encodings.utf_32 + • encodings.utf_32_be + • encodings.utf_32_le + • encodings.utf_7 + • encodings.utf_8 + • encodings.utf_8_sig + • encodings.uu_codec + • encodings.zlib_codec + • handle.py + • locale + +
+ +
+ +
+ + encodings.aliases +SourceModule
+imports: + encodings + +
+
+imported by: + encodings + • handle.py + • locale + +
+ +
+ +
+ + encodings.ascii +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.base64_codec +SourceModule
+imports: + base64 + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.big5 +SourceModule
+imports: + _codecs_tw + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.big5hkscs +SourceModule
+imports: + _codecs_hk + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.bz2_codec +SourceModule
+imports: + bz2 + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.charmap +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp037 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1006 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1026 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1125 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1140 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1250 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1251 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1252 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1253 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1254 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1255 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1256 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1257 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp1258 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp273 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp424 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp437 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp500 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp65001 +SourceModule
+imports: + codecs + • encodings + • functools + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp720 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp737 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp775 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp850 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp852 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp855 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp856 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp857 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp858 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp860 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp861 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp862 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp863 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp864 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp865 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp866 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp869 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp874 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp875 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp932 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp949 +SourceModule
+imports: + _codecs_kr + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.cp950 +SourceModule
+imports: + _codecs_tw + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.euc_jis_2004 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.euc_jisx0213 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.euc_jp +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.euc_kr +SourceModule
+imports: + _codecs_kr + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.gb18030 +SourceModule
+imports: + _codecs_cn + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.gb2312 +SourceModule
+imports: + _codecs_cn + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.gbk +SourceModule
+imports: + _codecs_cn + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.hex_codec +SourceModule
+imports: + binascii + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.hp_roman8 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.hz +SourceModule
+imports: + _codecs_cn + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.idna +SourceModule
+imports: + codecs + • encodings + • re + • stringprep + • unicodedata + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso2022_jp +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso2022_jp_1 +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso2022_jp_2 +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso2022_jp_2004 +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso2022_jp_3 +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso2022_jp_ext +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso2022_kr +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_1 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_10 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_11 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_13 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_14 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_15 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_16 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_2 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_3 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_4 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_5 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_6 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_7 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_8 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.iso8859_9 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.johab +SourceModule
+imports: + _codecs_kr + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.koi8_r +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.koi8_t +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.koi8_u +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.kz1048 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.latin_1 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_arabic +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_centeuro +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_croatian +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_cyrillic +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_farsi +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_greek +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_iceland +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_latin2 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_roman +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_romanian +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mac_turkish +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.mbcs +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.oem +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.palmos +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.ptcp154 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.punycode +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.quopri_codec +SourceModule
+imports: + codecs + • encodings + • io + • quopri + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.raw_unicode_escape +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.rot_13 +SourceModule
+imports: + codecs + • encodings + • sys + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.shift_jis +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.shift_jis_2004 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.shift_jisx0213 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.tis_620 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.undefined +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.unicode_escape +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.unicode_internal +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.utf_16 +SourceModule
+imports: + codecs + • encodings + • sys + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.utf_16_be +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.utf_16_le +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.utf_32 +SourceModule
+imports: + codecs + • encodings + • sys + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.utf_32_be +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.utf_32_le +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.utf_7 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.utf_8 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.utf_8_sig +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.uu_codec +SourceModule
+imports: + binascii + • codecs + • encodings + • io + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + encodings.zlib_codec +SourceModule
+imports: + codecs + • encodings + • zlib + +
+
+imported by: + encodings + • handle.py + +
+ +
+ +
+ + enum +SourceModule
+imports: + _collections + • collections + • functools + • operator + • sys + • types + +
+
+imported by: + handle.py + • http + • inspect + • plistlib + • re + • signal + • socket + • ssl + +
+ +
+ +
+ + errno (builtin module)
+imported by: + gettext + • gzip + • handle.py + • os + • shutil + • socket + • socketserver + • ssl + • subprocess + • tempfile + +
+ +
+ +
+ + fnmatch +SourceModule
+imports: + functools + • os + • posixpath + • re + +
+
+imported by: + bdb + • glob + • handle.py + • shutil + • tracemalloc + • unittest.loader + • urllib.request + +
+ +
+ +
+ + ftplib +SourceModule
+imports: + netrc + • re + • socket + • ssl + • sys + • warnings + +
+
+imported by: + urllib.request + +
+ +
+ +
+ + functools +SourceModule
+imports: + _functools + • _thread + • abc + • collections + • reprlib + • types + • weakref + +
+
+imported by: + contextlib + • email._encoded_words + • email.charset + • encodings.cp65001 + • enum + • fnmatch + • handle.py + • importlib.util + • inspect + • ipaddress + • linecache + • locale + • operator + • pickle + • pkgutil + • re + • signal + • tempfile + • tracemalloc + • types + • unittest.case + • unittest.loader + • unittest.result + • unittest.signals + +
+ +
+ +
+ + gc (builtin module)
+imports: + time + +
+
+imported by: + _posixsubprocess + • handle.py + • weakref + +
+ +
+ +
+ + genericpath +SourceModule
+imports: + os + • stat + +
+
+imported by: + handle.py + • ntpath + • posixpath + +
+ +
+ +
+ + getopt +SourceModule
+imports: + gettext + • os + • sys + +
+
+imported by: + base64 + • handle.py + • mimetypes + • pdb + • pydoc + • quopri + • webbrowser + +
+ +
+ +
+ + getpass +SourceModule
+imports: + contextlib + • io + • msvcrt + • os + • pwd + • sys + • termios + • warnings + +
+
+imported by: + urllib.request + +
+ +
+ +
+ + gettext +SourceModule
+imports: + builtins + • copy + • errno + • io + • locale + • os + • re + • struct + • sys + +
+
+imported by: + argparse + • getopt + • handle.py + • optparse + +
+ +
+ +
+ + glob +SourceModule
+imports: + fnmatch + • os + • re + +
+
+imported by: + handle.py + • pdb + • webbrowser + +
+ +
+ +
+ + grp +MissingModule
+imported by: + handle.py + • shutil + • tarfile + +
+ +
+ +
+ + gzip +SourceModule
+imports: + _compression + • builtins + • errno + • io + • os + • struct + • sys + • time + • warnings + • zlib + +
+
+imported by: + handle.py + • tarfile + +
+ +
+ +
+ + hashlib +SourceModule
+imports: + _blake2 + • _hashlib + • _md5 + • _sha1 + • _sha256 + • _sha3 + • _sha512 + • logging + +
+
+imported by: + handle.py + • random + • urllib.request + +
+ +
+ +
+ + heapq +SourceModule
+imports: + _heapq + • doctest + +
+
+imported by: + collections + • difflib + • handle.py + +
+ +
+ +
+ + html +Package
+imports: + html.entities + • re + +
+
+imported by: + handle.py + • html.entities + • http.server + +
+ +
+ +
+ + html.entities +SourceModule
+imports: + html + +
+
+imported by: + handle.py + • html + +
+ +
+ +
+ + http +Package
+imports: + enum + +
+
+imported by: + handle.py + • http.client + • http.cookiejar + • http.server + +
+ +
+ +
+ + http.client +SourceModule
+imports: + collections + • email.message + • email.parser + • http + • io + • os + • re + • socket + • ssl + • urllib.parse + • warnings + +
+
+imported by: + handle.py + • http.cookiejar + • http.server + • urllib.request + +
+ +
+ +
+ + http.cookiejar +SourceModule
+imports: + calendar + • copy + • datetime + • dummy_threading + • http + • http.client + • io + • logging + • re + • threading + • time + • traceback + • urllib.parse + • urllib.request + • warnings + +
+
+imported by: + urllib.request + +
+ +
+ +
+ + http.server +SourceModule
+imports: + argparse + • base64 + • binascii + • copy + • email.utils + • html + • http + • http.client + • io + • mimetypes + • os + • posixpath + • pwd + • select + • shutil + • socket + • socketserver + • subprocess + • sys + • time + • urllib.parse + +
+
+imported by: + handle.py + • pydoc + +
+ +
+ + + +
+ + importlib._bootstrap +SourceModule
+imports: + _frozen_importlib_external + • importlib + +
+
+imported by: + handle.py + • importlib + • importlib.abc + • importlib.machinery + • importlib.util + • pydoc + +
+ +
+ +
+ + importlib._bootstrap_external +SourceModule
+imports: + importlib + • tokenize + +
+
+imported by: + handle.py + • importlib + • importlib.abc + • importlib.machinery + • importlib.util + • py_compile + • pydoc + +
+ +
+ +
+ + importlib.abc +SourceModule +
+imported by: + handle.py + • importlib + • importlib.util + +
+ +
+ +
+ + importlib.machinery +SourceModule +
+imported by: + handle.py + • importlib.abc + • inspect + • pkgutil + • py_compile + • pydoc + +
+ +
+ +
+ + importlib.util +SourceModule
+imports: + contextlib + • functools + • importlib + • importlib._bootstrap + • importlib._bootstrap_external + • importlib.abc + • sys + • types + • warnings + +
+
+imported by: + handle.py + • pkgutil + • py_compile + • pydoc + • zipfile + +
+ +
+ +
+ + inspect +SourceModule
+imports: + abc + • argparse + • ast + • builtins + • collections + • collections.abc + • dis + • enum + • functools + • importlib + • importlib.machinery + • itertools + • linecache + • operator + • os + • re + • sys + • token + • tokenize + • types + • warnings + +
+
+imported by: + ast + • bdb + • doctest + • handle.py + • pdb + • pkgutil + • pydoc + +
+ +
+ +
+ + io +SourceModule
+imports: + _io + • abc + +
+
+imported by: + _compression + • bz2 + • dis + • doctest + • email.feedparser + • email.generator + • email.iterators + • email.message + • email.parser + • encodings.quopri_codec + • encodings.uu_codec + • getpass + • gettext + • gzip + • handle.py + • http.client + • http.cookiejar + • http.server + • logging + • lzma + • os + • pickle + • plistlib + • pprint + • pydoc + • quopri + • shlex + • socket + • socketserver + • subprocess + • tarfile + • tempfile + • tokenize + • unittest.result + • urllib.request + • xml.sax + • xml.sax.saxutils + • zipfile + +
+ +
+ +
+ + ipaddress +SourceModule
+imports: + functools + +
+
+imported by: + handle.py + • ssl + +
+ +
+ +
+ + itertools (builtin module)
+imported by: + calendar + • collections + • handle.py + • inspect + • pickle + • plistlib + • random + • reprlib + • threading + • tokenize + • traceback + • weakref + +
+ +
+ +
+ + java +MissingModule
+imported by: + handle.py + • platform + +
+ +
+ +
+ + keyword +SourceModule
+imports: + re + • sys + +
+
+imported by: + collections + • handle.py + +
+ +
+ +
+ + linecache +SourceModule
+imports: + functools + • os + • sys + • tokenize + +
+
+imported by: + bdb + • doctest + • handle.py + • inspect + • pdb + • traceback + • tracemalloc + • warnings + +
+ +
+ +
+ + locale +SourceModule
+imports: + _bootlocale + • _locale + • builtins + • collections + • encodings + • encodings.aliases + • functools + • os + • re + • sys + +
+
+imported by: + _bootlocale + • _strptime + • calendar + • gettext + • handle.py + +
+ +
+ +
+ + logging +Package
+imports: + atexit + • collections + • io + • os + • string + • sys + • threading + • time + • traceback + • warnings + • weakref + +
+
+imported by: + handle.py + • hashlib + • http.cookiejar + • unittest.case + +
+ +
+ +
+ + lzma +SourceModule
+imports: + _compression + • _lzma + • builtins + • io + • os + +
+
+imported by: + handle.py + • shutil + • tarfile + • zipfile + +
+ +
+ +
+ + marshal (builtin module)
+imported by: + handle.py + • pkgutil + +
+ +
+ +
+ + math (builtin module)
+imported by: + datetime + • handle.py + • random + • selectors + +
+ +
+ +
+ + mimetypes +SourceModule
+imports: + getopt + • os + • posixpath + • sys + • urllib.parse + • winreg + +
+
+imported by: + handle.py + • http.server + • urllib.request + +
+ +
+ +
+ + msvcrt (builtin module)
+imported by: + getpass + • handle.py + • subprocess + +
+ +
+ +
+ + netrc +SourceModule
+imports: + os + • pwd + • shlex + • stat + +
+
+imported by: + ftplib + +
+ +
+ +
+ + nt (builtin module)
+imported by: + handle.py + • ntpath + • os + • shutil + +
+ +
+ +
+ + ntpath +SourceModule
+imports: + genericpath + • nt + • os + • stat + • string + • sys + • warnings + +
+
+imported by: + handle.py + • ntpath + • os + +
+ +
+ +
+ + ntpath +AliasNode
+imports: + ntpath + • os + +
+
+imported by: + handle.py + • os + • pkgutil + • py_compile + • tracemalloc + • unittest + • unittest.util + +
+ +
+ +
+ + nturl2path +SourceModule
+imports: + string + • urllib.parse + +
+
+imported by: + urllib.request + +
+ +
+ +
+ + opcode +SourceModule
+imports: + _opcode + +
+
+imported by: + dis + • handle.py + +
+ +
+ +
+ + operator +SourceModule
+imports: + _operator + • builtins + • functools + +
+
+imported by: + collections + • email._header_value_parser + • enum + • handle.py + • inspect + +
+ +
+ +
+ + optparse +SourceModule
+imports: + gettext + • os + • sys + • textwrap + +
+
+imported by: + handle.py + • uu + +
+ +
+ +
+ + org +MissingModule
+imported by: + copy + • handle.py + +
+ +
+ +
+ + os +SourceModule
+imports: + _collections_abc + • abc + • errno + • io + • nt + • ntpath + • ntpath + • posix + • posixpath + • stat + • subprocess + • sys + • warnings + +
+
+imported by: + argparse + • bdb + • bz2 + • doctest + • email.utils + • fnmatch + • genericpath + • getopt + • getpass + • gettext + • glob + • gzip + • handle.py + • http.client + • http.server + • inspect + • linecache + • locale + • logging + • lzma + • mimetypes + • netrc + • ntpath + • ntpath + • optparse + • pdb + • pkgutil + • platform + • plistlib + • posixpath + • py_compile + • pydoc + • random + • shlex + • shutil + • socket + • socketserver + • ssl + • subprocess + • tarfile + • tempfile + • unittest.loader + • unittest.main + • urllib.request + • uu + • webbrowser + • xml.sax + • xml.sax.saxutils + • zipfile + +
+ +
+ +
+ + pdb +SourceModule
+imports: + bdb + • cmd + • code + • dis + • getopt + • glob + • inspect + • linecache + • os + • pdb + • pprint + • pydoc + • re + • readline + • shlex + • signal + • sys + • traceback + +
+
+imported by: + doctest + • handle.py + • pdb + +
+ +
+ +
+ + pickle +SourceModule
+imports: + 'org.python' + • _compat_pickle + • _pickle + • argparse + • codecs + • copyreg + • doctest + • functools + • io + • itertools + • pprint + • re + • struct + • sys + • types + +
+
+imported by: + handle.py + • tracemalloc + +
+ +
+ +
+ + pkgutil +SourceModule
+imports: + collections + • functools + • importlib + • importlib.machinery + • importlib.util + • inspect + • marshal + • ntpath + • os + • sys + • types + • warnings + • zipimport + +
+
+imported by: + handle.py + • pydoc + +
+ +
+ +
+ + platform +SourceModule
+imports: + 'java.lang' + • _winreg + • collections + • java + • os + • plistlib + • re + • socket + • struct + • subprocess + • sys + • vms_lib + • warnings + • winreg + +
+
+imported by: + handle.py + • pydoc + +
+ +
+ +
+ + plistlib +SourceModule
+imports: + binascii + • codecs + • contextlib + • datetime + • enum + • io + • itertools + • os + • re + • struct + • warnings + • xml.parsers.expat + +
+
+imported by: + handle.py + • platform + +
+ +
+ +
+ + posix +MissingModule
+imports: + resource + +
+
+imported by: + handle.py + • os + +
+ +
+ +
+ + posixpath +SourceModule
+imports: + genericpath + • os + • pwd + • re + • stat + • sys + +
+
+imported by: + fnmatch + • handle.py + • http.server + • mimetypes + • os + • urllib.request + +
+ +
+ +
+ + pprint +SourceModule
+imports: + collections + • io + • re + • sys + • time + • types + +
+
+imported by: + handle.py + • pdb + • pickle + • unittest.case + +
+ +
+ +
+ + pwd +MissingModule
+imported by: + getpass + • handle.py + • http.server + • netrc + • posixpath + • shutil + • tarfile + • webbrowser + +
+ +
+ +
+ + py_compile +SourceModule
+imports: + importlib._bootstrap_external + • importlib.machinery + • importlib.util + • ntpath + • os + • sys + • traceback + +
+
+imported by: + handle.py + • zipfile + +
+ +
+ +
+ + pydoc +SourceModule
+imports: + builtins + • collections + • email.message + • getopt + • http.server + • importlib._bootstrap + • importlib._bootstrap_external + • importlib.machinery + • importlib.util + • inspect + • io + • os + • pkgutil + • platform + • pydoc_data.topics + • re + • reprlib + • select + • subprocess + • sys + • tempfile + • textwrap + • threading + • time + • tokenize + • traceback + • tty + • urllib.parse + • warnings + • webbrowser + +
+
+imported by: + handle.py + • pdb + +
+ +
+ +
+ + pydoc_data +Package
+imported by: + handle.py + • pydoc_data.topics + +
+ +
+ +
+ + pydoc_data.topics +SourceModule
+imports: + pydoc_data + +
+
+imported by: + handle.py + • pydoc + +
+ +
+ +
+ + pyexpat d:\applications\amacpmda3\DLLs\pyexpat.pyd
+imported by: + handle.py + • xml.parsers.expat + +
+ +
+ +
+ + quopri +SourceModule
+imports: + binascii + • getopt + • io + • sys + +
+
+imported by: + email.encoders + • email.message + • encodings.quopri_codec + • handle.py + +
+ +
+ +
+ + random +SourceModule
+imports: + _collections_abc + • _random + • bisect + • hashlib + • itertools + • math + • os + • time + • types + • warnings + +
+
+imported by: + email.generator + • email.utils + • handle.py + • tempfile + +
+ +
+ +
+ + re +SourceModule
+imports: + _locale + • copyreg + • enum + • functools + • sre_compile + • sre_constants + • sre_parse + +
+
+imported by: + _sre + • _strptime + • argparse + • base64 + • difflib + • doctest + • email._encoded_words + • email._header_value_parser + • email.feedparser + • email.generator + • email.header + • email.message + • email.policy + • email.quoprimime + • email.utils + • encodings.idna + • fnmatch + • ftplib + • gettext + • glob + • handle.py + • html + • http.client + • http.cookiejar + • inspect + • keyword + • locale + • pdb + • pickle + • platform + • plistlib + • posixpath + • pprint + • pydoc + • shlex + • ssl + • string + • tarfile + • textwrap + • token + • tokenize + • unittest.case + • unittest.loader + • urllib.parse + • urllib.request + • warnings + • zipfile + +
+ +
+ +
+ + readline +MissingModule
+imported by: + cmd + • code + • handle.py + • pdb + +
+ +
+ +
+ + reprlib +SourceModule
+imports: + _dummy_thread + • _thread + • builtins + • itertools + +
+
+imported by: + bdb + • collections + • functools + • handle.py + • pydoc + +
+ +
+ +
+ + resource +MissingModule
+imported by: + handle.py + • posix + +
+ +
+ +
+ + select d:\applications\amacpmda3\DLLs\select.pyd
+imported by: + handle.py + • http.server + • pydoc + • selectors + • subprocess + +
+ +
+ +
+ + selectors +SourceModule
+imports: + abc + • collections + • math + • select + • sys + +
+
+imported by: + handle.py + • socket + • socketserver + • subprocess + +
+ +
+ +
+ + shlex +SourceModule
+imports: + collections + • io + • os + • re + • sys + +
+
+imported by: + handle.py + • netrc + • pdb + • webbrowser + +
+ +
+ +
+ + shutil +SourceModule
+imports: + bz2 + • collections + • errno + • fnmatch + • grp + • lzma + • nt + • os + • pwd + • stat + • sys + • tarfile + • zipfile + • zlib + +
+
+imported by: + handle.py + • http.server + • tarfile + • tempfile + • webbrowser + • zipfile + +
+ +
+ +
+ + signal +SourceModule
+imports: + _signal + • enum + • functools + +
+
+imported by: + handle.py + • pdb + • subprocess + • unittest.signals + +
+ +
+ +
+ + socket +SourceModule
+imports: + _socket + • enum + • errno + • io + • os + • selectors + • sys + +
+
+imported by: + _ssl + • email.utils + • ftplib + • handle.py + • http.client + • http.server + • platform + • socketserver + • ssl + • urllib.request + • webbrowser + +
+ +
+ +
+ + socketserver +SourceModule
+imports: + dummy_threading + • errno + • io + • os + • selectors + • socket + • sys + • threading + • time + • traceback + +
+
+imported by: + handle.py + • http.server + +
+ +
+ +
+ + sre_compile +SourceModule
+imports: + _sre + • sre_constants + • sre_parse + +
+
+imported by: + handle.py + • re + +
+ +
+ +
+ + sre_constants +SourceModule
+imports: + _sre + +
+
+imported by: + handle.py + • re + • sre_compile + • sre_parse + +
+ +
+ +
+ + sre_parse +SourceModule
+imports: + sre_constants + • warnings + +
+
+imported by: + handle.py + • re + • sre_compile + +
+ +
+ +
+ + ssl +SourceModule
+imports: + _ssl + • base64 + • calendar + • collections + • enum + • errno + • ipaddress + • os + • re + • socket + • sys + • textwrap + • time + • warnings + +
+
+imported by: + ftplib + • handle.py + • http.client + • urllib.request + +
+ +
+ +
+ + stat +SourceModule
+imports: + _stat + +
+
+imported by: + genericpath + • handle.py + • netrc + • ntpath + • os + • posixpath + • shutil + • tarfile + • zipfile + +
+ +
+ +
+ + string +SourceModule
+imports: + _string + • collections + • re + • warnings + +
+
+imported by: + cmd + • email._encoded_words + • email._header_value_parser + • email.quoprimime + • handle.py + • logging + • ntpath + • nturl2path + • urllib.request + +
+ +
+ +
+ + stringprep +SourceModule
+imports: + unicodedata + +
+
+imported by: + encodings.idna + • handle.py + +
+ +
+ +
+ + struct +SourceModule
+imports: + _struct + +
+
+imported by: + base64 + • gettext + • gzip + • handle.py + • pickle + • platform + • plistlib + • tarfile + • zipfile + +
+ +
+ +
+ + subprocess +SourceModule
+imports: + _posixsubprocess + • _winapi + • builtins + • dummy_threading + • errno + • io + • msvcrt + • os + • select + • selectors + • signal + • sys + • threading + • time + • warnings + +
+
+imported by: + handle.py + • http.server + • os + • platform + • pydoc + • webbrowser + +
+ +
+ +
+ + sys (builtin module)
+imported by: + _bootlocale + • _collections_abc + • argparse + • base64 + • bdb + • calendar + • cmd + • code + • codecs + • collections + • contextlib + • dis + • doctest + • dummy_threading + • email.generator + • email.iterators + • encodings + • encodings.rot_13 + • encodings.utf_16 + • encodings.utf_32 + • enum + • ftplib + • getopt + • getpass + • gettext + • gzip + • handle.py + • http.server + • importlib + • importlib.util + • inspect + • keyword + • linecache + • locale + • logging + • mimetypes + • ntpath + • optparse + • os + • pdb + • pickle + • pkgutil + • platform + • posixpath + • pprint + • py_compile + • pydoc + • quopri + • selectors + • shlex + • shutil + • socket + • socketserver + • ssl + • subprocess + • tarfile + • threading + • token + • tokenize + • traceback + • types + • unittest.case + • unittest.loader + • unittest.main + • unittest.result + • unittest.runner + • unittest.suite + • urllib.parse + • urllib.request + • uu + • warnings + • weakref + • webbrowser + • xml.parsers.expat + • xml.sax + • xml.sax._exceptions + • xml.sax.expatreader + • xml.sax.saxutils + • zipfile + +
+ +
+ +
+ + tarfile +SourceModule
+imports: + argparse + • builtins + • bz2 + • copy + • grp + • gzip + • io + • lzma + • os + • pwd + • re + • shutil + • stat + • struct + • sys + • time + • warnings + • zlib + +
+
+imported by: + handle.py + • shutil + +
+ +
+ +
+ + tempfile +SourceModule
+imports: + _dummy_thread + • _thread + • errno + • functools + • io + • os + • random + • shutil + • warnings + • weakref + +
+
+imported by: + handle.py + • pydoc + • urllib.request + • urllib.response + • webbrowser + +
+ +
+ +
+ + termios +MissingModule
+imported by: + getpass + • handle.py + • tty + +
+ +
+ +
+ + textwrap +SourceModule
+imports: + re + +
+
+imported by: + argparse + • handle.py + • optparse + • pydoc + • ssl + • zipfile + +
+ +
+ +
+ + threading +SourceModule
+imports: + _collections + • _thread + • _threading_local + • _weakrefset + • collections + • itertools + • sys + • time + • traceback + +
+
+imported by: + _threading_local + • bz2 + • dummy_threading + • handle.py + • http.cookiejar + • logging + • pydoc + • socketserver + • subprocess + • zipfile + +
+ +
+ +
+ + time (builtin module)
+imports: + _strptime + +
+
+imported by: + _datetime + • _dummy_thread + • _strptime + • datetime + • email._parseaddr + • email.generator + • email.utils + • gc + • gzip + • handle.py + • http.cookiejar + • http.server + • logging + • pprint + • pydoc + • random + • socketserver + • ssl + • subprocess + • tarfile + • threading + • unittest.runner + • urllib.request + • zipfile + +
+ +
+ +
+ + token +SourceModule
+imports: + re + • sys + +
+
+imported by: + handle.py + • inspect + • tokenize + +
+ +
+ +
+ + tokenize +SourceModule
+imports: + argparse + • builtins + • codecs + • collections + • io + • itertools + • re + • sys + • token + +
+
+imported by: + handle.py + • importlib._bootstrap_external + • inspect + • linecache + • pydoc + +
+ +
+ +
+ + traceback +SourceModule
+imports: + collections + • itertools + • linecache + • sys + +
+
+imported by: + _dummy_thread + • code + • doctest + • handle.py + • http.cookiejar + • logging + • pdb + • py_compile + • pydoc + • socketserver + • threading + • unittest.case + • unittest.loader + • unittest.result + +
+ +
+ +
+ + tracemalloc +SourceModule
+imports: + _tracemalloc + • collections + • fnmatch + • functools + • linecache + • ntpath + • pickle + +
+
+imported by: + handle.py + • warnings + +
+ +
+ +
+ + tty +SourceModule
+imports: + termios + +
+
+imported by: + handle.py + • pydoc + +
+ +
+ +
+ + types +SourceModule
+imports: + collections.abc + • functools + • sys + +
+
+imported by: + copy + • dis + • email.headerregistry + • enum + • functools + • handle.py + • importlib + • importlib.util + • inspect + • pickle + • pkgutil + • pprint + • random + • unittest.loader + +
+ +
+ +
+ + unicodedata d:\applications\amacpmda3\DLLs\unicodedata.pyd
+imported by: + encodings.idna + • handle.py + • stringprep + +
+ +
+ +
+ + unittest +Package +
+imported by: + doctest + • handle.py + • unittest + • unittest.case + • unittest.loader + • unittest.main + • unittest.result + • unittest.runner + • unittest.signals + • unittest.suite + • unittest.util + +
+ +
+ +
+ + unittest.case +SourceModule
+imports: + collections + • contextlib + • difflib + • functools + • logging + • pprint + • re + • sys + • traceback + • unittest + • unittest.result + • unittest.util + • warnings + +
+
+imported by: + handle.py + • unittest + • unittest.loader + • unittest.suite + +
+ +
+ +
+ + unittest.loader +SourceModule
+imports: + fnmatch + • functools + • os + • re + • sys + • traceback + • types + • unittest + • unittest.case + • unittest.suite + • unittest.util + • warnings + +
+
+imported by: + handle.py + • unittest + • unittest.main + +
+ +
+ +
+ + unittest.main +SourceModule
+imports: + argparse + • os + • sys + • unittest + • unittest.loader + • unittest.runner + • unittest.signals + +
+
+imported by: + handle.py + • unittest + +
+ +
+ +
+ + unittest.result +SourceModule
+imports: + functools + • io + • sys + • traceback + • unittest + • unittest.util + +
+
+imported by: + handle.py + • unittest + • unittest.case + • unittest.runner + +
+ +
+ +
+ + unittest.runner +SourceModule
+imports: + sys + • time + • unittest + • unittest.result + • unittest.signals + • warnings + +
+
+imported by: + handle.py + • unittest + • unittest.main + +
+ +
+ +
+ + unittest.signals +SourceModule
+imports: + functools + • signal + • unittest + • weakref + +
+
+imported by: + handle.py + • unittest + • unittest.main + • unittest.runner + +
+ +
+ +
+ + unittest.suite +SourceModule
+imports: + sys + • unittest + • unittest.case + • unittest.util + +
+
+imported by: + handle.py + • unittest + • unittest.loader + +
+ +
+ +
+ + unittest.util +SourceModule
+imports: + collections + • ntpath + • unittest + +
+
+imported by: + handle.py + • unittest + • unittest.case + • unittest.loader + • unittest.result + • unittest.suite + +
+ +
+ +
+ + urllib +Package + +
+ +
+ + urllib.error +SourceModule
+imports: + urllib + • urllib.response + +
+
+imported by: + urllib.request + +
+ +
+ +
+ + urllib.parse +SourceModule
+imports: + collections + • re + • sys + • urllib + +
+
+imported by: + email.utils + • handle.py + • http.client + • http.cookiejar + • http.server + • mimetypes + • nturl2path + • pydoc + • urllib.request + • xml.sax.saxutils + +
+ +
+ +
+ + urllib.request +SourceModule
+imports: + _scproxy + • base64 + • bisect + • collections + • contextlib + • email + • email.utils + • fnmatch + • ftplib + • getpass + • hashlib + • http.client + • http.cookiejar + • io + • mimetypes + • nturl2path + • os + • posixpath + • re + • socket + • ssl + • string + • sys + • tempfile + • time + • urllib + • urllib.error + • urllib.parse + • urllib.response + • warnings + • winreg + +
+
+imported by: + http.cookiejar + • xml.sax.saxutils + +
+ +
+ +
+ + urllib.response +SourceModule
+imports: + tempfile + • urllib + +
+
+imported by: + urllib.error + • urllib.request + +
+ +
+ +
+ + uu +SourceModule
+imports: + binascii + • optparse + • os + • sys + +
+
+imported by: + email.message + • handle.py + +
+ +
+ +
+ + vms_lib +MissingModule
+imported by: + handle.py + • platform + +
+ +
+ +
+ + warnings +SourceModule
+imports: + _warnings + • linecache + • re + • sys + • tracemalloc + +
+
+imported by: + base64 + • bz2 + • collections + • ftplib + • getpass + • gzip + • handle.py + • http.client + • http.cookiejar + • importlib + • importlib.util + • inspect + • logging + • ntpath + • os + • pkgutil + • platform + • plistlib + • pydoc + • random + • sre_parse + • ssl + • string + • subprocess + • tarfile + • tempfile + • unittest.case + • unittest.loader + • unittest.runner + • urllib.request + • zipfile + +
+ +
+ +
+ + weakref +SourceModule
+imports: + _weakref + • _weakrefset + • atexit + • collections + • copy + • gc + • itertools + • sys + +
+
+imported by: + _threading_local + • copy + • functools + • handle.py + • logging + • tempfile + • unittest.signals + • xml.sax.expatreader + +
+ +
+ +
+ + webbrowser +SourceModule
+imports: + copy + • getopt + • glob + • os + • pwd + • shlex + • shutil + • socket + • subprocess + • sys + • tempfile + +
+
+imported by: + handle.py + • pydoc + +
+ +
+ +
+ + winreg (builtin module)
+imported by: + handle.py + • mimetypes + • platform + • urllib.request + +
+ +
+ +
+ + xml +Package
+imports: + xml.sax.expatreader + • xml.sax.xmlreader + +
+
+imported by: + handle.py + • xml.parsers + • xml.sax + +
+ +
+ +
+ + xml.parsers +Package
+imports: + xml + +
+
+imported by: + handle.py + • xml.parsers.expat + • xml.sax.expatreader + +
+ +
+ +
+ + xml.parsers.expat +SourceModule
+imports: + pyexpat + • sys + • xml.parsers + +
+
+imported by: + handle.py + • plistlib + • xml.sax.expatreader + +
+ +
+ +
+ + xml.sax +Package
+imports: + 'org.python' + • io + • os + • sys + • xml + • xml.sax + • xml.sax._exceptions + • xml.sax.expatreader + • xml.sax.handler + • xml.sax.saxutils + • xml.sax.xmlreader + +
+ + +
+ +
+ + xml.sax._exceptions +SourceModule
+imports: + 'java.lang' + • sys + • xml.sax + +
+
+imported by: + xml.sax + • xml.sax.expatreader + • xml.sax.xmlreader + +
+ +
+ +
+ + xml.sax.expatreader +SourceModule
+imports: + _weakref + • sys + • weakref + • xml.parsers + • xml.parsers.expat + • xml.sax + • xml.sax._exceptions + • xml.sax.handler + • xml.sax.saxutils + • xml.sax.xmlreader + +
+
+imported by: + xml + • xml.sax + +
+ +
+ +
+ + xml.sax.handler +SourceModule
+imports: + xml.sax + +
+
+imported by: + xml.sax + • xml.sax.expatreader + • xml.sax.saxutils + • xml.sax.xmlreader + +
+ +
+ +
+ + xml.sax.saxutils +SourceModule
+imports: + codecs + • io + • os + • sys + • urllib.parse + • urllib.request + • xml.sax + • xml.sax.handler + • xml.sax.xmlreader + +
+
+imported by: + xml.sax + • xml.sax.expatreader + • xml.sax.xmlreader + +
+ +
+ +
+ + xml.sax.xmlreader +SourceModule
+imports: + xml.sax + • xml.sax._exceptions + • xml.sax.handler + • xml.sax.saxutils + +
+
+imported by: + xml + • xml.sax + • xml.sax.expatreader + • xml.sax.saxutils + +
+ +
+ +
+ + zipfile +SourceModule
+imports: + binascii + • bz2 + • dummy_threading + • importlib.util + • io + • lzma + • os + • py_compile + • re + • shutil + • stat + • struct + • sys + • textwrap + • threading + • time + • warnings + • zlib + +
+
+imported by: + handle.py + • shutil + +
+ +
+ +
+ + zipimport (builtin module)
+imports: + zlib + +
+
+imported by: + handle.py + • pkgutil + +
+ +
+ +
+ + zlib (builtin module)
+imported by: + encodings.zlib_codec + • gzip + • handle.py + • shutil + • tarfile + • zipfile + • zipimport + +
+ +
+ + + diff --git a/codes/four/dist/four.pk b/codes/four/dist/four.pk new file mode 100644 index 0000000..bc40133 Binary files /dev/null and b/codes/four/dist/four.pk differ diff --git a/codes/four/dist/handle b/codes/four/dist/handle new file mode 100644 index 0000000..05b645c Binary files /dev/null and b/codes/four/dist/handle differ diff --git a/codes/four/dist/handle.exe b/codes/four/dist/handle.exe new file mode 100644 index 0000000..b9fe13a Binary files /dev/null and b/codes/four/dist/handle.exe differ diff --git a/codes/four/four.pk b/codes/four/four.pk new file mode 100644 index 0000000..bc40133 Binary files /dev/null and b/codes/four/four.pk differ diff --git a/codes/four/handle.py b/codes/four/handle.py new file mode 100644 index 0000000..3e2ea8c --- /dev/null +++ b/codes/four/handle.py @@ -0,0 +1,89 @@ +from pickle import load,dump +from random import randint + +def next(dic,s,li): + if s[-1] not in dic: + if len(li)>10:print(li) + return + for i in dic[s[-1]]: + if i in li: continue + next(dic,i,li+[i]) +def gen(dic): + for i in dic: + for j in dic[i]: + next(dic,j,[j]) + +class node: + def __init__(self,val): + self.val = val + self.chd={} + self.prt={} + def to(self,nd): + if nd.val not in self.chd: + self.chd[nd.val] = nd + nd.prt[self.val] = self + def __getitem__(self,i): + return self.val[i] + def __str__(self): + return '{}->{}'.format(self.val,list(self.chd.keys())) + def __repr__(self): + return 'node({})'.format(self.val) + def __len__(self): + return len(self.chd) +class graph: + def __init__(self): + self.data = {} + def addNode(self,s): + if s not in self.data: + nd = node(s) + for i,j in self.data.items(): + if i[-1]==nd[0]: j.to(nd) + if i[0]== nd[-1]: nd.to(j) + self.data[s] = nd + + def __str__(self): + print() + def __getitem(self,i): + return self.data[i] +def clean(dic): + g = graph() + for i in dic: + for j in dic[i]: + g.addNode(j) + + dic = {} + for i,j in g.data.items(): + if j.chd=={} and j.prt=={}: continue + if i[0] in dic: dic[i[0]].append(i) + else:dic[i[0]] = [i] + + with open('four.pk','wb') as f: + dump(dic,f) +def play(): + def once(last): + word = last[-1] + if word[-1] not in dic: + if len(last)>1: + print('{}-> '.format(last)) + print('-'*5+'end'+'-'*5) + return + else: + print('{}-> '.format(last)) + lst = dic[word[-1]] + for i,j in enumerate(lst): + print('{}. {}'.format(i,j)) + print('q. quit') + choose = input('>>> ') + if choose == 'q':return + once(last+[lst[int(choose)%len(lst)]]) + + lst = dic[li[randint(0,n-1)]] + word = lst[randint(0,len(lst)-1)] + once([word]) +if __name__ =='__main__': + dic=None + with open('four.pk','rb') as f: + dic = load(f) + li = list(dic.keys()) + n = len(li) + while 1:play() diff --git a/codes/four/handle.spec b/codes/four/handle.spec new file mode 100644 index 0000000..782a9fe --- /dev/null +++ b/codes/four/handle.spec @@ -0,0 +1,29 @@ +# -*- mode: python -*- + +block_cipher = None + + +a = Analysis(['handle.py'], + pathex=['C:\\Users\\mbinary\\gitrepo\\algorithm\\codes\\four'], + binaries=[], + datas=[], + hiddenimports=[], + hookspath=[], + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher) +pyz = PYZ(a.pure, a.zipped_data, + cipher=block_cipher) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='handle', + debug=False, + strip=False, + upx=True, + runtime_tmpdir=None, + console=True ) diff --git a/codes/hashTable.py b/codes/hashTable.py new file mode 100644 index 0000000..a323f0d --- /dev/null +++ b/codes/hashTable.py @@ -0,0 +1,103 @@ +class item: + def __init__(self,key,val,nextItem=None): + self.key = key + self.val = val + self.next = nextItem + def to(self,it): + self.next = it + def __eq__(self,it): + '''using keyword ''' + return self.key == it.key + def __bool__(self): + return self.key is not None + def __str__(self): + li = [] + nd = self + while nd: + li.append(f'({nd.key}:{nd.val})') + nd = nd.next + return ' -> '.join(li) + def __repr__(self): + return f'item({self.key},{self.val})' +class hashTable: + def __init__(self,size=100): + self.size = size + self.slots=[item(None,None) for i in range(self.size)] + def __setitem__(self,key,val): + nd = self.slots[self.myhash(key)] + while nd.next: + if nd.key ==key: + if nd.val!=val: nd.val=val + return + nd = nd.next + nd.next = item(key,val) + + def myhash(self,key): + if isinstance(key,str): + key = sum(ord(i) for i in key) + if not isinstance(key,int): + key = hash(key) + return key % self.size + def __iter__(self): + '''when using keyword , such as ' if key in dic', + the dic's __iter__ method will be called,(if hasn't, calls __getitem__ + then ~iterate~ dic's keys to compare whether one equls to the key + ''' + for nd in self.slots: + nd = nd.next + while nd : + yield nd.key + nd = nd.next + def __getitem__(self,key): + nd =self.slots[ self.myhash(key)].next + while nd: + if nd.key==key: + return nd.val + nd = nd.next + raise Exception(f'[KeyError]: {self.__class__.__name__} has no key {key}') + + def __delitem__(self,key): + '''note that None item and item(None,None) differ with each other, + which means you should take care of them and correctly cop with None item + especially when deleting items + ''' + n = self.myhash(key) + nd = self.slots[n].next + if nd.key == key: + if nd.next is None: + self.slots[n] = item(None,None) # be careful + else:self.slots[n] = nd.next + return + while nd: + if nd.next is None: break # necessary + if nd.next.key ==key: + nd.next = nd.next.next + nd = nd.next + def __str__(self): + li = ['\n\n'+'-'*5+'hashTable'+'-'*5] + for i,nd in enumerate(self.slots): + li.append(f'{i}: '+str(nd.next)) + return '\n'.join(li) + + +if __name__ =='__main__': + from random import randint + dic = hashTable(16) + n = 100 + li = [1,2,5,40,324,123,6,22,18,34,50] + print(f'build hashTable using {li}') + for i in li: + dic[i] = '$'+str(i) + print(dic) + for i in [1,34,45,123]: + if i in dic: + print(f'{i} in dic, deleting it') + del dic[i] + else: + print(f'{i} not in dic, ignore it') + print(dic) + print(f'dic[2] is {dic[2]}') + try: + dic[-1] + except Exception as e: + print(e) diff --git a/codes/manacher.py b/codes/manacher.py new file mode 100644 index 0000000..94766bd --- /dev/null +++ b/codes/manacher.py @@ -0,0 +1,26 @@ +class Solution: + def longestPalindrome(self, s): + """ + :type s: str + :rtype: str + """ + n = len(s) + s2='$#'+'#'.join(s)+'#@' + ct =[0]*(2*n+4) + mid=1 + for cur in range(1,2*n+2): + if cur mid+ct[mid]:mid = cur + mx = max(ct) + idxs = [i for i,j in enumerate(ct) if j == mx] + p = idxs[0] + for i in idxs: + if s2[i]=='#':p = i + rst =s2[p-mx+1:p+mx].replace('#','') + return rst + \ No newline at end of file diff --git a/codes/markov.py b/codes/markov.py new file mode 100644 index 0000000..a06cb34 --- /dev/null +++ b/codes/markov.py @@ -0,0 +1,46 @@ +from random import randint +import re + + +class markov: + def __init__(self,txt): + self.words= self.clean(txt) + self.dic = self.getDic(self.words) + def clean(self,text): + text = text.replace("\n", " "); + text = text.replace("\"", ""); + + # 保证每个标点符号都和前面的单词在一起 + # 这样不会被剔除,保留在马尔可夫链中 + punctuation = [',', '.', ';',':'] + for symbol in punctuation: + text = text.replace(symbol, symbol+" "); + + return re.split(' +',text) + + def getDic(self,words): + dic = {} + end = len(words) + for i in range(1,end): + if words[i-1] not in dic: + dic[words[i-1]] = {words[i]:1} + elif words[i] not in dic[words[i-1]]: + dic[words[i-1]][words[i]] = 1 + else: dic[words[i-1]][words[i]] +=1 + return dic + def getSum(self,dic): + if '%size' not in dic: + dic['%size'] = sum(list(dic.values())) + return dic['%size'] + def nextWord(self,word): + k = randint(1,self.getSum(self.dic[word])) + for i,j in self.dic[word].items(): + k-=j + if k<=0:return i + def genSentence(self,begin = 'I',length = 30): + li = [begin] + nextWord= begin + for i in range(1,length): + nextWord= self.nextWord(nextWord) + li.append(nextWord) + return ' '.join(li) diff --git a/codes/sort/__pycache__/quickSort.cpython-35.pyc b/codes/sort/__pycache__/quickSort.cpython-35.pyc new file mode 100644 index 0000000..c2f1886 Binary files /dev/null and b/codes/sort/__pycache__/quickSort.cpython-35.pyc differ diff --git a/codes/sort/heapSort.py b/codes/sort/heapSort.py new file mode 100644 index 0000000..8d25eb8 --- /dev/null +++ b/codes/sort/heapSort.py @@ -0,0 +1,72 @@ +from functools import partial +class heap: + def __init__(self,lst,reverse = False): + self.data= heapify(lst,reverse) + self.cmp = partial(lambda i,j,r:cmp(self.data[i],self.data[j],r),r= reverse) + def getTop(self): + return self.data[0] + def __getitem__(self,idx): + return self.data[idx] + def __bool__(self): + return self.data != [] + def popTop(self): + ret = self.data[0] + n = len(self.data) + cur = 1 + while cur * 2<=n: + chd = cur-1 + r_idx = cur*2 + l_idx = r_idx-1 + if r_idx==n: + self.data[chd] = self.data[l_idx] + break + j = l_idx if self.cmp(l_idx,r_idx)<0 else r_idx + self.data[chd] = self.data[j] + cur = j+1 + self.data[cur-1] = self.data[-1] + self.data.pop() + return ret + + def addNode(self,val): + self.data.append(val) + self.data = one_heapify(len(self.data)-1) + + +def cmp(n1,n2,reverse=False): + fac = -1 if reverse else 1 + if n1 < n2: return -fac + elif n1 > n2: return fac + return 0 + +def heapify(lst,reverse = False): + for i in range(len(lst)): + lst = one_heapify(lst,i,reverse) + return lst +def one_heapify(lst,cur,reverse = False): + cur +=1 + while cur>1: + chd = cur-1 + prt = cur//2-1 + if cmp(lst[prt],lst[chd],reverse)<0: + break + lst[prt],lst[chd] = lst[chd], lst[prt] + cur = prt+1 + return lst +def heapSort(lst,reverse = False): + lst = lst.copy() + hp = heap(lst,reverse) + ret = [] + while hp: + ret.append(hp.popTop()) + return ret + + +if __name__ == '__main__': + from random import randint + n = randint(10,20) + lst = [randint(0,100) for i in range(n)] + print('random : ', lst) + print('small-heap: ', heapify(lst)) + print('big-heap : ', heapify(lst,True)) + print('ascend : ', heapSort(lst)) + print('descend : ', heapSort(lst,True)) diff --git a/codes/sort/quickSort.py b/codes/sort/quickSort.py new file mode 100644 index 0000000..9ffca99 --- /dev/null +++ b/codes/sort/quickSort.py @@ -0,0 +1,95 @@ +def quickSort(lst): + '''A optimized version of Hoare partition''' + def partition(a,b): + pivot = lst[a] + while a!=b: + while apivot: b-=1 + if a=b:return + mid = (a+b)//2 + # 三数取中值置于第一个作为 pivot + if (lst[a]lst[mid]): lst[a],lst[b] = lst[b],lst[a] # lst[b] 为中值 + i = partition(a,b) + _sort(a,i-1) + _sort(i+1,b) + _sort(0,len(lst)-1) + return lst +def quickSort2(lst): + '''A version of partition from , a little bit slow''' + def partition(a,b): + pivot = lst[b] + j = a-1 + for i in range(a,b): + if lst[i]<=pivot: + j+=1 + if i!=j: lst[i], lst[j] = lst[j], lst[i] + lst[j+1],lst[b] = lst[b],lst[j+1] + return j+1 + def _sort(a,b): + if a>=b:return + mid = (a+b)//2 + # 三数取中值置于第一个作为 pivot + if (lst[a]lst[b]) ^ (lst[a]>lst[mid]): lst[a],lst[b] = lst[b],lst[a] # lst[b] 为中值 + i = partition(a,b) + _sort(a,i-1) + _sort(i+1,b) + + _sort(0,len(lst)-1) + return lst +def quickSort3(lst): + '''A rear recursive optimization version''' + def partition(a,b): + pivot = lst[b] + j = a-1 + for i in range(a,b): + if lst[i]<=pivot: + j+=1 + if i!=j: lst[i], lst[j] = lst[j], lst[i] + lst[j+1],lst[b] = lst[b],lst[j+1] + return j+1 + def _sort(a,b): + while alst[b]) ^ (lst[a]>lst[mid]): lst[a],lst[b] = lst[b],lst[a] # lst[b] 为中值 + i = partition(a,b) + _sort(a,i-1) + a = i+1 + _sort(0,len(lst)-1) + return lst + +from time import time +def timer(func,lst,n=100): + t = time() + for i in range(n):func(lst) + t = time()-t + print('{}: {}s'.format(func.__name__,t)) + return t + +if __name__ == '__main__': + from random import randint + print('5000 items, repeat 100 times for each') + lst = [randint(0,100) for i in range(5000)] + timer(quickSort,lst.copy()) + timer(quickSort2,lst.copy()) + timer(quickSort3,lst.copy()) + + lst = [randint(0,100) for i in range(15)] + print(lst) + print(quickSort(lst.copy())) + print(quickSort2(lst.copy())) + print(quickSort3(lst.copy())) + + diff --git a/codes/sort/radixSort.py b/codes/sort/radixSort.py new file mode 100644 index 0000000..a892e28 --- /dev/null +++ b/codes/sort/radixSort.py @@ -0,0 +1,40 @@ +def radixSort(lst,radix=10): + ls = [[] for i in range(radix)] + mx = max(lst) + weight = 1 + while mx >= weight: + for i in lst: + ls[(i // weight)%radix].append(i) + weight *= radix + lst = sum(ls,[]) + ls = [[] for i in range(radix)] + return lst + +def countSort(lst,mn,mx): + mark = [0]*(mx-mn+1) + for i in lst: + mark[i-mn]+=1 + ret =[] + for n,i in enumerate(mark): + ret +=[n+mn]*i + return ret + +from quickSort import quickSort +from time import time +from random import randint +def timer(funcs,span,num=1000000): + lst = [randint(0,span) for i in range(num)] + print('range({}), {} items'.format(span,num)) + for func in funcs: + data = lst.copy() + t = time() + func(data) + t = time()-t + print('{}: {}s'.format(func.__name__,t)) + + +if __name__ == '__main__': + timer([quickSort,radixSort,sorted],1000000000000,1000) + timer([quickSort,radixSort,sorted],10000,100000) + lst = [randint(0,100) for i in range(1000)] + print(countSort(lst,0,100)==sorted(lst)) diff --git a/codes/sort/res.txt b/codes/sort/res.txt new file mode 100644 index 0000000..e69de29 diff --git a/codes/sort/select.py b/codes/sort/select.py new file mode 100644 index 0000000..8fbc5bb --- /dev/null +++ b/codes/sort/select.py @@ -0,0 +1,37 @@ +from random import randint +def select(lst,i): + lst = lst.copy() + def partition(a,b): + pivot = lst[a] + while apivot: b-=1 + if a=b: return lst[a] + # randomized select + n = randint(a,b) + lst[a],lst[n] = lst[n],lst[a] + pos = partition(a,b) + if pos>i: + return _select(a,pos-1) + elif pos=i and s[j] > s[cur-i]: + s[cur] = s[cur-i] + cur-=i + s[cur] = s[j] + return s diff --git a/codes/sort/sort.py b/codes/sort/sort.py new file mode 100644 index 0000000..b685d4a --- /dev/null +++ b/codes/sort/sort.py @@ -0,0 +1,56 @@ +from functools import total_ordering + +@total_ordering +class node: + def __init__(self,val,left=None,right=None): + self.val=val + self.frequency = 1 + self.left=left + self.right=right + def __lt__(self,x): + return self.val n2: ret= 1 + return ret * -1 if self.reverse else ret + def addNode(self,nd): + def _add(prt,chd): + if self.cmp(prt,chd)==0: + prt.incFreq() + return + if self.cmp(prt,chd)<0: + + if not isinstance(nd,node):nd=node(nd) + if not self.root : + self.root=node(val) + else: + if self.root == val: + self.root.incfreq() + else: + cur = self.root + def build(self,lst): + dic = {} + for i in lst: + if i in dic: + dic[i].incFreq() + else: + dic[i] = node(i) + self.data =list( dic.values()) + + diff --git a/codes/steganography_to_do.py b/codes/steganography_to_do.py new file mode 100644 index 0000000..0fdd6cd --- /dev/null +++ b/codes/steganography_to_do.py @@ -0,0 +1,69 @@ +from PIL import Image +from skimage import color +import numpy as np +import matplotlib.pyplot as plt +import math +import argparse + + +parser = argparse.ArgumentParser() +parser.add_argument('picture') +parser.add_argument('-f','file') +parser.add_argument('-s','string') + +args = parser.parse_args() + +PIC = args.picture +FILE = args.file +STR = args.string + + +class steganography: + def __init__(self,picture): + self.pic = poicture + + def handlePixel(self,target,attach): + '''对一个像素进行隐写 ,attach是要处理的数值,允许在0~9''' + a,b,c = target + pa,pb,pc = attach + return a%10+pa,b%10+pb,c%10+pc + def d2n(self,n,base=16): + ''' num of base_n(n<36) to decimal''' + dic = {i:chr(i+ord('0')) for i in range(10)} + if base>10: + dic.update({i+10:chr(i+ord('A')) for i in range(26)}) + rst=[] + while n!=0: + i=int(n/base) + rst.append(dic[n-i*base]) + n=i + return ''.join(rst[::-1]) + def changeBody(self,path): + self.pic = path + def encryptPic(self,content,base =8): + '''将bytes内容content隐写到self.picture中 base can be different value, default 8''' + body = np .array (Image.open(self.pic)) + attach = np.array(content) + r,c, _ = body.shape + ar,ac,_ = attach.shape + + raise Exception('信息量太大,不能隐写在此图片中,换张更大的图片') + def encryptStr(self,content): + body = np.array (Image.open(self.pic)) + r,c,d = body.shape + btay = bytearray(content) + length = len(btay) + if length*8 > (r-1)*c:raise Exception('信息量太大,不能隐写在此图片中,换张更大的图片') + def getContent(self,file=None,s=None): + '''get the bytes , file is prior to str''' + byte = b'' + if not file: + if not s: + s = input('输入要隐写的信息') + byte = encode(STR,'utf-8') + else:byte = open(FILE,'wb').read() + return byte + +if __name__ =='__main__': + + PIC diff --git a/notes/src/recursive-tree.jpg b/notes/src/recursive-tree.jpg new file mode 100644 index 0000000..09f5909 Binary files /dev/null and b/notes/src/recursive-tree.jpg differ diff --git a/notes/src/symbol.jpg b/notes/src/symbol.jpg new file mode 100644 index 0000000..593490f Binary files /dev/null and b/notes/src/symbol.jpg differ