Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38532
| Date | 2013-02-09 12:13 -0500 |
|---|---|
| From | Dave Angel <davea@davea.name> |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1556.1360430045.2939.python-list@python.org> (permalink) |
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
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