上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 32 下一页
摘要: ......................... 阅读全文
posted @ 2018-08-30 11:25 巨兽~墨菲特 阅读(141) 评论(0) 推荐(0)
摘要: 异步IO 在IO编程一节中,我们已经知道,CPU的速度远远快于磁盘、网络等IO。在一个线程中,CPU执行代码的速度极快,然而,一旦遇到IO操作,如读写文件、发送网络数据时,就需要等待IO操作完成,才能继续进行下一步操作。这种情况称为同步IO。 在IO操作的过程中,当前线程被挂起,而其他需要CPU执行 阅读全文
posted @ 2018-08-30 09:57 巨兽~墨菲特 阅读(265) 评论(0) 推荐(0)
摘要: 1 package day01;//声明包 2 3 public class Helloworld {//声明一个类 HelloWorld 必须和文件名一样 4 //主方法,为程序入口 5 //程序执行从main开始,mian结束则程序结束 6 public static void main(String[] args) { 7 // TO... 阅读全文
posted @ 2018-08-29 20:36 巨兽~墨菲特 阅读(101) 评论(0) 推荐(0)
摘要: 0000 阅读全文
posted @ 2018-08-24 11:31 巨兽~墨菲特 阅读(330) 评论(0) 推荐(0)
摘要: multiprocessing is a package that supports spawning processes using an API similar to the threading module. The multiprocessing package offers both lo 阅读全文
posted @ 2018-08-20 11:38 巨兽~墨菲特 阅读(160) 评论(0) 推荐(0)
摘要: pypcap 的库特别难装,反正我是莫名其妙装上了。但是在另一台电脑就装不上去。暂时就不写安装方法。此处,先标记下,以后有机会补充。 1、认识下Pypcap和dpkt 要介绍pypcap和wincap等库,首先必须知道libpcap。Libpcap是一个开源代码库,它提供了一个为网络数据报抓取系统设 阅读全文
posted @ 2018-08-20 10:55 巨兽~墨菲特 阅读(656) 评论(0) 推荐(0)
摘要: 使用样式 简介 样式用于在屏幕上显示时更改数据的外观。它们还用于确定数字的格式。 样式可以应用于以下几个方面: 字体设置字体大小、颜色、下划线等。 填充以设置图案或颜色渐变 边框在单元格上设置边框 单元格排列 保护 以下是默认值: 单元格样式和命名样式 有两种类型的样式:单元格样式和命名样式,也称为 阅读全文
posted @ 2018-08-19 10:08 巨兽~墨菲特 阅读(989) 评论(0) 推荐(0)
摘要: 1 ''' 2 Created on 2018年8月18日 3 4 @author: Administrator 5 ''' 6 import time,re 7 from openpyxl import load_workbook 8 from openpyxl.workbook import W 阅读全文
posted @ 2018-08-18 16:33 巨兽~墨菲特 阅读(369) 评论(0) 推荐(0)
摘要: 简单的使用 写一个工作表 根据索引,得到列的索引字符。 例子: 读取一个存在的工作簿 1 #coding:utf8 2 ''' 3 Created on 2018年8月18日 4 5 @author: Administrator 6 ''' 7 from openpyxl import load_w 阅读全文
posted @ 2018-08-18 12:57 巨兽~墨菲特 阅读(1529) 评论(0) 推荐(0)
摘要: openpyxl 可以很好的处理 2010版本以上的表格。 示例: 在内存中处理一个工作簿: 创建一个工作簿 没有必要利用 openpyxl 先去创建一个文件系统上的文件然后才能开始使用。你只要导入工作簿类,然后开始使用它吧。 A workbook is always created with at 阅读全文
posted @ 2018-08-18 09:52 巨兽~墨菲特 阅读(1329) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 32 下一页