摘要:
时间模块需要引入time.h头文件 1. c获取时间戳 2. c 获得时间字符串,或者将时间戳转换成字符串 那为什么呢?C语言定义了结构体struct tm /* ISO C `broken-down time' structure. */ struct tm { int tm_sec; /* Se 阅读全文
摘要:
#!/usr/bin/env python # -*- coding:utf-8 -*- import zipfile def addzip(): f = zipfile.ZipFile('test.zip','w',zipfile.ZIP_DEFLATED) for i in ["/opt/code/my_code/test_zip/ll.py", "/opt/code... 阅读全文