I use numpy.savez
to register my arrays as .npz files ( and it works very well).
But it saves the files in the folder where there is the script. Technically, my program is a while loop which will save 100 files one at a time.
I would like to be able to select at the beginning of the process ( or write full adress) a place on my computer ,where to save, and then for each iteration have numpy.savez to save them where I indicated.
Because I would not want either to say 100 times " I want you to save it there".
I looked at the scipy docs but I did not find any solutions.
Thanks for helping me !