Re: compressing consecutive spaces

2007-07-09 Thread Pomato
On Jul 9, 7:38 am, Beliavsky <[EMAIL PROTECTED]> wrote: > How can I replace multiple consecutive spaces in a file with a single > character (usually a space, but maybe a comma if converting to a CSV > file)? Ideally, the Python program would not compress consecutive > spaces inside single or double

Re: pickling problem

2007-06-07 Thread Pomato
Brian Blais wrote: > Hello, > > I have a somewhat nested dict that I want to pickle, but it (sometimes) > contains some > no-no's (specifically, in this case, functions). I know I can't pickle > them, but I > would like to be able to pickle the rest of the dict. Is there a good way to > be a