Create Dynamic Html Table In Python