title: error on loading files using numpy python
body: <p>i have many text files that contain integers present inside a directory <code>/home/gkl/file/*.rtd.2_file_*.txt_*</code></p>
  <p>i just want to load using numpy and i am getting error</p>
  <pre><code>import numpy as np
  import glob
  import os
  
  files = [os.path.basename(x) for x in glob.glob(&quot;/home/gkl/file/*.rtd.2_file_*.txt_*&quot;)]
  print(files)
  inpdata=np.loadtxt(names)
  print(inpdata)
  </code></pre>
  <p>i am getting error ValueError: could not convert string to float: <code>'mst.rtd.2_file_345.txt_1'</code></p>
  <p>after that i tried</p>
  <pre><code>import numpy as np
  import glob
  import os
  
  files = [os.path.basename(x) for x in glob.glob(&quot;/home/gkl/file/*.rtd.2_file_*.txt_*&quot;)]
  print(files)
  inpdata=np.loadtxt(float(names))
  print(inpdata)
  </code></pre>
  <p>still i get error</p>
  <pre><code>inpdata=np.loadtxt(float(names))
  TypeError: float() argument must be a string or a number, not 'list'
  </code></pre>
  <p>i need experts help here</p>