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.

jd 
inqvista.com




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to