[Tutor] Easy Problem

Ishan Puri ballerz4ishi at sbcglobal.net
Tue Sep 1 03:43:29 CEST 2009


Hello,
    I have 2 plain text documents that have uneven spacing. I need to make these single spaced between lines and between words. Basically I need to get them to be equal character length after I abridge the uneven spacing. In Python there is probably one simple command for this for a text file? How do I do this?
E.G.: Hi          how are you?
Fixed: Hi how are you?
        Thanks,
                Ishan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090831/40e3cb9a/attachment.htm>


More information about the Tutor mailing list