Get length of Bezier curve with python? (For driver)
The animation node plugin implements a node for calculating the length of a curve:

You find the sources here.


An older BA thread also provides some snippets.