rembish / fit Goto Github PK
View Code? Open in Web Editor NEWPython FIT filetype SDK
License: BSD 3-Clause "New" or "Revised" License
Python FIT filetype SDK
License: BSD 3-Clause "New" or "Revised" License
Hi,
When I try to open a file (fin = FitFile.open("input.fit")), I receive the following error message:
" File "", line 1, in
fin = FitFile.open("input.fit")
File "/usr/local/lib/python2.7/dist-packages/fit/init.py", line 27, in open
body = Reader(ffd).body
File "/usr/local/lib/python2.7/dist-packages/fit/io/reader.py", line 60, in body
self._fd.seek(self.header.size)
File "/usr/local/lib/python2.7/dist-packages/fit/io/reader.py", line 33, in header
header_size = ord(self._fd.read(1))
TypeError: ord() expected a character, but string of length 0 found"
Any idea?
Thanks!
In [1]: from fit import FitFile
Traceback (most recent call last):
File "/mnt/c/Users/andre/Documents/FIT experiment/venv/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3319, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
from fit import FitFile
File "/mnt/c/Users/andre/Documents/FIT experiment/venv/lib/python3.6/site-packages/fit/init.py", line 53
raise exc_type, exc_val, exc_tb
^
SyntaxError: invalid syntax
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.