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

inq1ltd inq1ltd at
Sun Feb 10 16:12:41 CET 2013

On Saturday, February 09, 2013 03:27:16 PM 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?

Look up the textwrap module 

import the textwrap module.

from the textwrap module you can
import dedent, wrap, and fill  

These are great for formatting text.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list