design-patterns/load_employees.py [82:94]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                time1 = time.time()
    return count

if __name__ == "__main__":
    args = sys.argv[1:]
    tableName = args[0]
    fileName = args[1]

    begin_time = time.time()
    count = import_csv(tableName, fileName)

    # print summary
    print('RowCount: %s, Total seconds: %s' %(count, (time.time() - begin_time)))
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



design-patterns/load_invoice.py [56:71]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        time1 = time.time()
    return count

if __name__ == "__main__":
    args = sys.argv[1:]
    tableName = args[0]
    fileName = args[1]

    #### Capture the execution begin time ####
    begin_time = time.time()

    #### Call the function to Import data into the DynamoDb Table ####
    count = import_csv(tableName, fileName)

    #### Print Execution Summary ####
    print('RowCount: %s, Total seconds: %s' %(count, (time.time() - begin_time)))
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



