Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Any idea how i can format my output file with********************Start file*********************** usinf Python 2.7

Reply
Thread Tools

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

 
 
D'Arcy J.M. Cain
Guest
Posts: n/a
 
      02-09-2013
On Sat, 9 Feb 2013 15:27:16 +0100
Morten Engvoldsen <(E-Mail Removed)> wrote:
> 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?


Seems pretty simple. Open the file, read it into a variable, print the
header, print the data and then print the footer. Which part are you
struggling with? Show us your code so far.

Or is the issue with the .doc file? Is it a Word document or simple
text?

--
D'Arcy J.M. Cain <(E-Mail Removed)> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
IM: http://www.velocityreviews.com/forums/(E-Mail Removed), VOIP: sip:(E-Mail Removed)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any idea how i can format my output file with********************Start file*********************** usinf Python 2.7 Morten Engvoldsen Python 2 02-09-2013 07:56 PM
Re: Any idea how i can format my output file with********************Start file*********************** usinf Python 2.7 Mark Lawrence Python 0 02-09-2013 05:53 PM
Re: Any idea how i can format my output file with********************Start file*********************** usinf Python 2.7 Dave Angel Python 0 02-09-2013 05:13 PM
Re: Any idea how i can format my output file with********************Start file*********************** usinf Python 2.7 Peter Otten Python 0 02-09-2013 03:01 PM
Re: Any idea how i can format my output file with********************Start file*********************** usinf Python 2.7 Dave Angel Python 0 02-09-2013 02:38 PM



Advertisments