Html Function With Parameters In Python