title: Write a 2d-list without the same number of columns in Excel with xlwgins
body: <p>I'm trying in a Excel's workbook write a text file like this:</p>
  
  <blockquote>
    <p>14807         2010 
     2    0   ""   -1    0   0<br>
     0 
    Joints
     0 
    Frames
     3200 
     1    0    0    0    0   "1"    0   ""    0    0    .15    .9    0   ""    1.1    28    0    0    0    .3    .3    0<br>
     1    0    0    0    0   "2"    0   ""    0    0    .15    .9    0   ""    1.1    28    0    0    0    .3    .3    0<br>
     1    0    0    0    0   "3"    0   ""    0    0    .15    .9    0   ""    1.1    28    0    0    0    .3    .3    0<br>
     1    0    0    0    0   "1"    0   ""    0    0    .15    .9    0   ""    1.1    28    0    0    0    .3    .3    0</p>
  </blockquote>
  
  <p>The idea is write each value in different Cell. How can I do that efficiently ?. I have this but doesn't work:</p>
  
  <pre><code>import xlwings as xw
  
  filename = "Viguetas de N+47.00 a N+145.80.dcc"
  dc_cad = DC_CAD(filename)
  dc_cad.show_data()
  
  class DC_CAD:
      def __init__(self, filename):
          self.filename = filename
          self.data = self.getData()
          print(self.data[:5])
  
          self.excel_app = xw.App(visible = False, add_book = False, impl = None)  # impl ?
          self.wb = self.excel_app.books.add()
          self.sh = self.wb.sheets[0]
          self.sh.range("A1").value = self.data
  
      def getData(self):
          return [line.split(' ') for line in open(self.filename, 'r').read().split('\n')]
  
      def show_data(self):
          self.excel_app.visible = True
  </code></pre>