This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
from datetime import datetime | |
# pip download openpyxl xlrd | |
sys.path.append('./et_xmlfile.whl') | |
sys.path.append('./openpyxl.whl') | |
sys.path.append('./xlrd.whl') | |
from openpyxl import Workbook | |
import xlrd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://github.com/thypon/python-stripzip | |
import mmap | |
import os | |
import sys | |
from struct import Struct | |
# Remove zip metadata. | |
def zip_strip(zip): | |
# Remove extra data. | |
def remove_extra(mm, offset, length, compressed_size = 0): |
OlderNewer