Simple Python String Procedure