The python code has the following steps.
- Login to polar-account and fetch activity data
- Removes the tags "Creator" and "Author" that prevents polar .tcx to be imported to garmin.
- Writes the .tcx files that can be imported to Garmin
Note: There are also free online tools for the convertion, such as http://polar2garm.in and http://polarconverter.com
$ python converter.py
Polar username:
Password: