Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38575 > unrolled thread

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

Started byMorten Engvoldsen <mortenengv@gmail.com>
First post2013-02-10 16:39 +0100
Last post2013-02-10 16:39 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Any idea how i can format my output file with ********************Start file*********************** usinf Python 2.7 Morten Engvoldsen <mortenengv@gmail.com> - 2013-02-10 16:39 +0100

#38575 — Re: Any idea how i can format my output file with ********************Start file*********************** usinf Python 2.7

FromMorten Engvoldsen <mortenengv@gmail.com>
Date2013-02-10 16:39 +0100
SubjectRe: Any idea how i can format my output file with ********************Start file*********************** usinf Python 2.7
Message-ID<mailman.1581.1360510748.2939.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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

On Sun, Feb 10, 2013 at 4:12 PM, inq1ltd <inq1ltd@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
>
>
>
>
>
>
>
>
>
>
>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web