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


Groups > comp.lang.python > #38559

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

References <CAJ2vgs7cPKtb3fv=heMtfV7nS-15G+4npRVCkJLqx-CAkrMgVQ@mail.gmail.com> <CAJ2vgs6WxZ+685sjY5-qjakM5fNPWW0VAf8-hXiWZSM-fL4LoA@mail.gmail.com> <511683C7.1070406@davea.name>
Date 2013-02-10 08:16 +0100
Subject Re: Any idea how i can format my output file with ********************Start file*********************** usinf Python 2.7
From Morten Engvoldsen <mortenengv@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1575.1360480607.2939.python-list@python.org> (permalink)

Show all headers | View raw


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

Hi Dave,
This sounds great, thanks for your help :)

On Sat, Feb 9, 2013 at 6:13 PM, Dave Angel <davea@davea.name> wrote:

> On 02/09/2013 10:01 AM, Morten Engvoldsen wrote:
>
>> Hi Davea,
>> I am using Python 2.7.
>>
>>
> Sorry, I should have noticed the python version in the subject line, but
> didn't until this reply.
>
> How about  print >> outfile, "Start the File".center(55, "*")
> after creating the file, and
>
> print >> outfile, "Start the File".center(55, "*")
> just before closing it ?
>
> --
> DaveA
>

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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 08:16 +0100

csiph-web