yes sir, @ptrblck in lists its working but its giving only numbers, I need to read these lines. The total_list has the contents as
raw_data\Ses01F_impro01_M013.wav 1 1
raw_data\Ses01F_impro02_F000.wav 2 1
raw_data\Ses01F_impro02_F001.wav 2 1
raw_data\Ses01F_impro02_F002.wav 2 1
raw_data\Ses01F_impro02_F003.wav 3 1
Now I need two separate text files which have a random selection of these files as 80- 20 %
, My code is doing so but the selection is not exact division,
I hope I am clear now.