I am new to python and coding in general. Therefore I apologize if this has been talked about already and I am just unable to find it.
I am trying to get a list of stringnames.
for x in list:
foldername = 'bla/exp-{number}/exp-{number}-A/bls'.format(number = x)
my_list.append(glob("/bla/bla/bla/" + foldername))
len(my_list)
len(my_list) returns just 2, even though x = 100
I am not really sure how to proceed.
Thanks in advance.