摘要:
>>> importos>>>os.path.exists('d:/assist')True>>>os.path.exists('d:/assist/getTeacherList.py')True>>>os.path.isfile('d:/assist')False>>>os.path.isfile... 阅读全文
posted @ 2014-03-19 16:19
jianhong
阅读(401)
评论(0)
推荐(0)
摘要:
在做网络程序时,可以对字符串进行压缩来节省带宽 项目中用到{"compress": , "result":[[设备类型.设备ID, 设备名称, 单位ID, 设备功能], ...]}只做了简单的压缩解压缩,也没crc32(循环冗余校验)01# -*- coding: utf-8 -*-0203"""和... 阅读全文
posted @ 2014-03-19 14:41
jianhong
阅读(555)
评论(0)
推荐(0)