Python non-alphanumeric translator