Replace Parameters In Python Code For Snake