Python Print Text Alignment In Html