Return to site

Convert fit file to tcx

broken image
broken image

import os from nverter import Converter root = 'data/' person = 'Albert Einstein' path = dict ( _path_fit = os.

broken image

If you do not give it a _path_zip, it simply assumes your files are already unzipped. Note that the only difference is whether you give _path_zip to the Converter class. If your exported files are not zipped anymore, you can run the following sample script to convert your files to csv. csv files will be saved converter = Converter ( ** path ) for file in converter. join ( root, 'csv', person )) # where the. join ( root, 'fit', person ), # where your. join ( root, 'export', person ), # where your. import os from nverter import Converter root = 'data/' person = 'Albert Einstein' path = dict ( _path_zip = os. gz format, you can run the sample script underneath to unzip your files and convert them to csv. This makes it easier for analyzing and merging the files later. The code is designed such that all different file extensions are converted to similar csv files (e.g. The package is available under pypi: pip install bike2csv

broken image

This packages supports the following file extensions. Parse any file obtained from a bike computer to a csv file. Bike2csv - Convert FIT, PWX and TCX files from a bike computer to CSV format

broken image