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


Groups > comp.lang.python > #38535

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!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:sourceforge': 0.03; 'output': 0.04; 'subject:Python': 0.05; 'subject:file': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:2.7': 0.09; 'skip:f 30': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'url:pywin32': 0.16; 'wrote:': 0.17; 'team,': 0.18; 'python?': 0.20; 'assuming': 0.22; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'plain': 0.27; 'header:X-Complaints-To:1': 0.28; 'file': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'to:addr :python-list': 0.33; 'text': 0.34; 'saved': 0.35; 'skip:* 20': 0.35; 'received:org': 0.36; 'subject:with': 0.36; 'data': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'here': 0.65; 'talking': 0.66; 'subject:Any': 0.84; 'replied.': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Any idea how i can format my output file with ********************Start file*********************** usinf Python 2.7
Date Sat, 09 Feb 2013 17:53:59 +0000
References <CAJ2vgs7cPKtb3fv=heMtfV7nS-15G+4npRVCkJLqx-CAkrMgVQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 92.18.40.255
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
In-Reply-To <CAJ2vgs7cPKtb3fv=heMtfV7nS-15G+4npRVCkJLqx-CAkrMgVQ@mail.gmail.com>
X-Antivirus avast! (VPS 130209-0, 09/02/2013), Outbound message
X-Antivirus-Status Clean
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.1559.1360432375.2939.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360432375 news.xs4all.nl 6908 [2001:888:2000:d::a6]:33050
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38535

Show key headers only | View raw


On 09/02/2013 14:27, 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?
>
>

Assuming the .doc file is MS Word see here
http://sourceforge.net/projects/pywin32/ as a starter?  If you're 
talking plain text others have already replied.

-- 
Cheers.

Mark Lawrence

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 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-09 17:53 +0000

csiph-web