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


Groups > comp.lang.python > #38532

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

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.05; 'subject:file': 0.07; 'python': 0.09; 'subject:2.7': 0.09; 'cc:addr:python-list': 0.10; 'file,': 0.15; 'subject: \n ': 0.16; 'wrote:': 0.17; 'sorry,': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'creating': 0.26; 'am,': 0.27; 'noticed': 0.28; 'reply.': 0.28; 'print': 0.32; 'version': 0.34; 'but': 0.36; 'closing': 0.36; "didn't": 0.36; 'subject:with': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'subject': 0.66; 'received:74.208': 0.71; '2.7.': 0.84; 'received:74.208.4.194': 0.84; 'subject:Any': 0.84
Date Sat, 09 Feb 2013 12:13:43 -0500
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
MIME-Version 1.0
To Morten Engvoldsen <mortenengv@gmail.com>
Subject 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>
In-Reply-To <CAJ2vgs6WxZ+685sjY5-qjakM5fNPWW0VAf8-hXiWZSM-fL4LoA@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:daC0Q9cUIOpFwmpjTc+3oAQtsiJZV97/pMs3DRk5lvb jDKuVPHn/ZlyGQ3Uhq/otXMlF017yH+0iwO3kf2qxMb8n1YyPk FkQdk9A/RsBmpPiY3T+5WfTMLY4aoFAnEVZOr8vmyJayh1T/gO VBOyMTS4a1Rx+xok2EsUdTPVGmt2oz+sn56dSO6NM3FPWBsoUY MXNpix7Pd88oUsEo683iZjXgNvER+zXWD2LscvfEpjGEOM7n2Z 86xsGRfQWg2fwpYLJvLuSIZ2mvBgWr332AYiNlbsr8JR7+WeCz mrTPogwh56rM+4u4exqmVMp54FmQ8k7pfvDT5xynRBayOXvnw= =
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1556.1360430045.2939.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360430045 news.xs4all.nl 6888 [2001:888:2000:d::a6]:45663
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38532

Show key headers only | View raw


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 Dave Angel <davea@davea.name> - 2013-02-09 12:13 -0500

csiph-web