title: Python3 how to read a file delimited by spaces which length varies
body: <p>I would like to make a Python3 code using <code>csv.reader</code>.</p>
  
  <p>This is an example file to read.</p>
  
  <pre><code>#hoge.txt
  a b c d  e f    g
  a    b c d  e   f    g
  a b c   d  e f    g
  a  b   c   d e    f  g
  </code></pre>
  
  <p>I want to have arrays like this</p>
  
  <pre><code>[[a,a,a,a],[b,b,b,b],[c,c,c,c]...[g,g,g,g]]
  </code></pre>
  
  <p>(The number of elements is fixed.)</p>
  
  <p>My current code is</p>
  
  <pre><code>from csv import reader
  with open('hoge.txt') as f:
      data = reader(f, delimiter=' ')
  </code></pre>
  
  <p>But, apparently, it doesn't work. 
  How can I make it as if</p>
  
  <pre><code>    data = reader(f, delimiter='\s+')
  </code></pre>