Replace Parameters In Python Definition