At my Python code, I have the following line:
init_segment = str([init_segment for init_segment in os.listdir(job_output_root + '/' + track) if init_segment.startswith("init-")])
If I output the variable, the "[brackets]" are included in the output, why that? Currently, it looks like this:
/tmp/output/6 test/['init-a-aac_he_v2-de-mp4a.40.5_64000.m4s']
where it should look like that:
/tmp/output/6 test/init-a-aac_he_v2-de-mp4a.40.5_64000.m4s
Thanks in advance