Used https://github.com/vkurup/python-tcxparser project for reading the tcx file, added code for copying elements to list.