上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: 设置隐私里面关闭所有同步数据选项 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\将下面子项属性修改 OneSyncSvc的start属相修改为3OneSyncSvc_随机数字的start属性修改为3UserDataSvc的start属性修改 阅读全文
posted @ 2017-12-04 11:36 tec2019 阅读(2331) 评论(0) 推荐(0) 编辑
摘要: I recently required the use of ESXi Customizer to integrate some NIC drivers into my ESXi 5.5 ISO. Having never used it before, I was surprised to see 阅读全文
posted @ 2017-12-04 11:07 tec2019 阅读(5188) 评论(0) 推荐(0) 编辑
摘要: 原文引用地址:http://www.labtestproject.com/linux_network/step_by_step_enable_ftp_on_squid_proxy_in_linux_fedora_10.html 阅读全文
posted @ 2017-11-06 13:55 tec2019 阅读(2262) 评论(0) 推荐(0) 编辑
摘要: $filelist=gc "file.txt" #获取要检查的文件列表 $csvs= new-object collections.arraylist #创建一个arraylist对象 foreach($file in $filelist){ $csv=new-psobject|select yes,no if([io.Directory]::Exists($file)){ #判断文件是否存在 ... 阅读全文
posted @ 2017-09-29 13:50 tec2019 阅读(3494) 评论(0) 推荐(0) 编辑
摘要: python的set和其他语言类似, 是一个无序不重复元素集, 基本功能包括关系测试和消除重复元素. 集合对象还支持union(联合), intersection(交), difference(差)和sysmmetric difference(对称差集)等数学运算. sets 支持 x in set, len(set),和 for x in set。作为一个无序的集合,sets不记录元素位置或... 阅读全文
posted @ 2017-08-16 22:47 tec2019 阅读(329) 评论(0) 推荐(0) 编辑
摘要: >>> str = "世界你好!" >>> b = str.encode('utf-8') >>> type(b) >>> b b'\xe4\xb8\x96\xe7\x95\x8c\xe4\xbd\xa0\xe5\xa5\xbd!' >>> b.decode('utf-8') '世界你好!' 阅读全文
posted @ 2017-06-30 16:52 tec2019 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 编辑 /etc/apt/sources.list 添加163镜像源 apt-get update 进行更新 dpkg-reconfigure locales 选择 en_US.utf-8 utf-8 和 zh_CN.utf-8 utf-8 、zh_CN.gbk2312 确定后默认选择 zh_CN a 阅读全文
posted @ 2017-06-07 15:39 tec2019 阅读(244) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding: utf-8 -*- with open('e:/123.txt') as fp:row = fp.readlines() #打开并读取所有数据行到列表后赋值给变量 row Category = [] [Category.append(row[i]) for i in range(len(row)) if row[i] not in... 阅读全文
posted @ 2017-06-01 16:00 tec2019 阅读(126) 评论(0) 推荐(0) 编辑
摘要: import csv f = open('Desktop.txt','r') f2 = open('Laptop.txt','r') f3 = open('UserList.csv','r') num = 0 num2 = 0 num3 = 0 for line in f.readlines()[1:]: print(line) num=num+1 for line2 in... 阅读全文
posted @ 2016-12-02 14:12 tec2019 阅读(170) 评论(0) 推荐(0) 编辑
摘要: import sys import xlrd import traceback def ReadData(FileName): try: workBook = xlrd.open_workbook(FileName) sheetsList = workBook.sheet_names() sheetNum = len(sheetsList) ... 阅读全文
posted @ 2016-11-25 15:57 tec2019 阅读(1251) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页