Ksh Replace String In Python Example