#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jul 27 23:11:39 2018

@author: marti
"""

#%%
import sys
from xlrd import open_workbook
from xlwt import Workbook
input_file = sys.argv[1]
output_file = sys.argv[2]
output_workbook = Workbook()
output_worksheet = output_workbook.add_sheet('jan_2013_output')
with open_workbook(input_file) as workbook:
    worksheet = workbook.sheet_by_name('january_2013')
    for row_index in range(worksheet.nrows):
        for column_index in range(worksheet.ncols):
            output_worksheet.write(row_index, column_index, worksheet.cell_value\
                                   (row_index, column_index))
output_workbook.save(output_file)