Build Html String Functions In Python