I want to do this:
>>> special = \'x\' >>> random_function(\'Hello how are you\') \'xxxxx xxx xxx xxx\'
I basically want
This can be easily done with regex:
>>> re.sub('[A-Za-z]', 'x', 'Hello how are you') 'xxxxx xxx xxx xxx'