Exemplo n.º 1
0
def main():
    try:
        file_path, match_file_path = user_interface()
        start_time = time.process_time()
        bp = background_processing.BackgroundProcessing(file_path, match_file_path)
        count = bp.match_barcode()
        timer(start_time, count)
    except:
        sys.exit(0)
Exemplo n.º 2
0
def main():
    try:
        file_path = user_interface()
        start_time = time.process_time()
        bp = background_processing.BackgroundProcessing(file_path)
        bp.match_received()
        timer(start_time)
    except:
        sys.exit(0)
Exemplo n.º 3
0
def main():
    try:
        raw_domestic_file_path, raw_imported_file_path = user_interface()
        start_time = time.process_time()
        bp = background_processing.BackgroundProcessing(
            raw_domestic_file_path, raw_imported_file_path)
        bp.generate_file()
        timer(start_time)
    except:
        sys.exit(0)
def main():
    try:
        date, order_start_num, waybill_num, flight_date, express_delivery, file_path = user_interface(
        )
        start_time = time.process_time()
        bp = background_processing.BackgroundProcessing(
            date, order_start_num, waybill_num, flight_date, express_delivery,
            file_path)
        bp.generate_template()
        timer(start_time)
    except:
        sys.exit(0)