Jun-11-2017, 08:37 PM
A file name is just a string that you can create by splicing other strings. So assuming you can read the CSV line into id, label and data,
with open(id+'_'+label+'.txt','w') as linefile: linefile.write(data)
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net