np.load to a paths file
<p>I have a file with all of my pathnames for each .npy file. I have about 5 million files so I would like to avoid unnecessary fors.</p>

<p>What I need to do is to load them all into my data variable like this:</p>

<p>data = np.load( input_file_w_pathnames )</p>

<p>I know this will not work but I was wondering if someone knows of a clever way to do something similar, or at least a way to do this efficiently.</p>