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 02:16:39 EST 2013


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

On Sat, Feb 9, 2013 at 6:13 PM, Dave Angel <davea at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130210/80408baf/attachment.html>


More information about the Python-list mailing list