qiuri2008

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2018年7月7日

摘要: 1、类型判断 2、指定编码格式 3、无格式字节流 bytes 不可变字节类型 byrearray 可变字节数组 4、I/O映射 5、文件->内存映射(切片方式修改内存) 6、读写压缩文件 7、串行化 迭代式pickle:连续dump/load db方式: 二进制串行化 8、lambda 9、迭代器、 阅读全文
posted @ 2018-07-07 21:59 江召伟 阅读(1131) 评论(0) 推荐(0) 编辑

摘要: #!/usr/bin/python #_*_ coding:utf-8 _*_ import MySQLdb import time import threading import random from email.MIMEText import MIMEText from email.MIMEMultipart import MIMEMultipart from email.MIMEB... 阅读全文
posted @ 2018-07-07 21:29 江召伟 阅读(730) 评论(0) 推荐(0) 编辑

摘要: #!/usr/bin/python #-*- coding:utf-8 –*- import os import sys import re import shutil import xlrd import xlwt from xlutils.copy import copy ''' 提取相关RELEASE信息,追加“SW Release Note.xls” 运行命令 ./gen_rel... 阅读全文
posted @ 2018-07-07 21:23 江召伟 阅读(184) 评论(0) 推荐(0) 编辑

摘要: #include #include #include #ifndef DWORD #define DWORD unsigned int #endif #ifndef BYTE #define BYTE unsigned char #endif #ifndef bool #define bool unsigned int #endif #define FLASH... 阅读全文
posted @ 2018-07-07 21:20 江召伟 阅读(417) 评论(0) 推荐(0) 编辑

摘要: #!/usr/bin/python #coding:UTF-8 import sys import re import getopt import md5 import os import subprocess import shutil import xlrd import xlwt from xlutils.copy import copy #from subprocess imp... 阅读全文
posted @ 2018-07-07 21:18 江召伟 阅读(220) 评论(0) 推荐(0) 编辑

摘要: #!/usr/bin/python #_*_ coding:utf-8 _*_ import time from email.MIMEText import MIMEText from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email import Utils, E... 阅读全文
posted @ 2018-07-07 21:01 江召伟 阅读(401) 评论(0) 推荐(0) 编辑

摘要: #!/usr/bin/python #-*- coding:utf-8 –*- import os import sys import re import shutil import xlrd import xlwt import getopt import math from xlutils.copy import copy ''' 脚本使用: 设置strUiPorject... 阅读全文
posted @ 2018-07-07 20:55 江召伟 阅读(264) 评论(0) 推荐(0) 编辑