Any idea how i can format my output file with ********************Start file*********************** usinf Python 2.7

Morten Engvoldsen mortenengv at gmail.com
Sun Feb 10 10:39:01 EST 2013


Hi,
Thanks for your suggestion. This is a great forum for Python. :)

On Sun, Feb 10, 2013 at 4:12 PM, inq1ltd <inq1ltd at inqvista.com> wrote:

> **
>
> On Saturday, February 09, 2013 03:27:16 PM Morten Engvoldsen wrote:
>
> > Hi Team,
>
> > I Have saved my output in .doc file and want to format the output with
>
> >
>
> > *************Start the File ************************
>
> >
>
> > Some data here
>
> >
>
> >
>
> > *******************End of File*****************************
>
> >
>
> > Can you let me know how can i do that using Python?
>
>
>
>
>
> Look up the textwrap module
>
>
>
> import the textwrap module.
>
>
>
> from the textwrap module you can
>
> import dedent, wrap, and fill
>
>
>
> These are great for formatting text.
>
>
>
> jd
>
> inqvista.com
>
>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130210/be2f5faf/attachment.html>


More information about the Python-list mailing list