this is what the print function gives me
/home/codes/paths/0000001090.png
/home/codes/paths/0000001091.png
/home/codes/paths/0000001092.png
/home/codes/paths/0000001093.png
I want to have it like
[/home/codes/paths/0000001090.png
/home/codes/paths/0000001091.png
/home/codes/paths/0000001092.png
/home/codes/paths/0000001093.png]
so I tried use list.append
raw_image_path= image_path+str(image_id).zfill(10)+'.png'
all_images = []
all_images.append(raw_image_path)
print (all_images)
but it seems to append every printed value separately
[/home/codes/paths/0000001090.png]
[/home/codes/paths/0000001091.png]
[/home/codes/paths/0000001092.png]
[/home/codes/paths/0000001093.png]
how can I solve this ?