python:实现压缩给定目录中的所有日志
import os # Load the Library Module
import shutil # Load the Library Module - 1.2
from time import strftime # Load just the strftime Module from Time
logsdir = "c:\logs\puttylogs" # Set the Variable logsdir
zipdir = "c:\logs\puttylogs\zipped_logs" # Set the Variable