What I'm looking for is a way to write out a python Fraction() type to an arbitrary number of decimal places. I've looked at the python docs for Fraction and Decimal, but I can't see any way to convert or to write out the Fraction.
So what I'm looking for is some way to print out
Fraction(5, 7)
as
0.7142857142857142857142857142857142857142857142857142
instead of
>> float(Fraction(5, 7))
0.7142857142857143
Specifying the number of DPs.