Create Folder with Numpy Savetxt
<p>I'm trying loop over many arrays and create files stored in different folders.</p>

<p>Is there a way to have np.savetxt creating the folders I need as well?</p>

<p>Thanks</p>

<p>Actually in order to make all intermediate directories if needed the <code>os.makedirs(path, exist_ok=True)</code> . If not needed the command will not throw an error.</p>

python numpy