Php Add Character To String Python