This file contains 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 | |
import subprocess | |
import time | |
def compress(files): | |
for file in files: | |
prefix = os.getcwd() + "/" + "compressed" + "/" + file |
This file contains 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
""" | |
system imports | |
""" | |
import os | |
import sys | |
import logging | |
def get_zip_file_names(path): | |
""" |
This file contains 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
""" | |
sqlite3 for read/write operations on the db | |
""" | |
import sqlite3 | |
import pandas as pd | |
import sys | |
def get_cursor(file, table): | |
""" |