Python to write table

OMG. Bad news