Replace Parameters In Python Code