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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!xlned.com!feeder3.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <mortenengv@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*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; 'sat,': 0.15; '&gt;&gt;': 0.16; 'subject: \n ': 0.16; '\xa0print': 0.16; 'wrote:': 0.17; 'feb': 0.19; '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; 'creating': 0.26; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'noticed': 0.28; 'reply.': 0.28; 'skip:& 10': 0.29; 'print': 0.32; 'version': 0.34; 'received:google.com': 0.34; 'thanks': 0.34; 'pm,': 0.35; 'but': 0.36; 'closing': 0.36; "didn't": 0.36; 'subject:with': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'help': 0.40; 'your': 0.60; 'subject': 0.66; 'sounds': 0.71; '2.7.': 0.84; '2013': 0.84; 'subject:Any': 0.84; 'angel': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=hABDnR6LrBAFCuk6lm3mCe8f2MSmFf1gq3A/kRyLOc4=; b=JHzQdwEOXxt7KKMTnNa6fQBlrAExp98ZE63bYVPIQj3DktJhIUWf+32QBzfhL42/+i z1Zj/gx2+IPoCe3GrleRhetCzyvPWF1rBx5iwpVcP0h4jd+NUsgb+F+rkd7dFocWR4H0 mzCLMWZCC+dRceYaHCzLA+gdVPIHpCCp58yAHj34DEfkmEPnrNm0ToluHZ1+4FIw87Y2 lxqaNvXPr8yImlLSkTV9IWF25OyYER5y5v5Dic8N9P8mcJQ40JHITNisEqenol5uuok1 vtcbsJxZxVVr/DFV+dU3AqOYs/jlm8MzWpLwwWGZV7r5R8AfuuuW7+JTIsgEWcy2whVB addg==
MIME-Version 1.0
X-Received by 10.194.94.37 with SMTP id cz5mr17615705wjb.49.1360480599934; Sat, 09 Feb 2013 23:16:39 -0800 (PST)
In-Reply-To <511683C7.1070406@davea.name>
References <CAJ2vgs7cPKtb3fv=heMtfV7nS-15G+4npRVCkJLqx-CAkrMgVQ@mail.gmail.com> <CAJ2vgs6WxZ+685sjY5-qjakM5fNPWW0VAf8-hXiWZSM-fL4LoA@mail.gmail.com> <511683C7.1070406@davea.name>
Date Sun, 10 Feb 2013 08:16:39 +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>
To Dave Angel <davea@davea.name>
Content-Type multipart/alternative; boundary=047d7bb03c2ae2085b04d5599219
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.1575.1360480607.2939.python-list@python.org> (permalink)
Lines 64
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360480607 news.xs4all.nl 6880 [2001:888:2000:d::a6]:49395
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38559

Show key headers only | 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