摘要:
https://blog.csdn.net/qq_29721419/article/details/70310183 阅读全文
摘要:
zip list1=[1,2,3] list2=['a','b','c'] dict(zip(list1,list2)) {1: 'a', 2: 'b', 3: 'c'} 阅读全文
摘要:
def bin_search(data_set, val): low = 0 high = len(data_set) - 1 while low <= high: mid = (low + high) //2 if data_set[mid] == val: return mid elif da... 阅读全文
摘要:
Samba共享服务器 先将selinux关闭和防火墙端口号打开 139 445 #iptables -A INPUT -p udp -dport 137 -j ACCEPT #iptables -A INPUT -p udp -dport 138 -j ACCEPT iptables -A INPUT -p tcp -dport 139 -j ACCEPT iptables -A INPUT -... 阅读全文