Tony Cappellini wrote:
> What I'd like to know, is there a way I can embed/endcode the cvs string
> above in the python script, so that when that script is modified and
> checked into cvs, that the cvs header string above will not be modified
> by cvs?
Try using \x24 instead of $:
cvs_header='
Message: 5
Date: Thu, 4 Jan 2007 16:13:51 +1300
From: "John Fouhy" <[EMAIL PROTECTED]>
Subject: Re: [Tutor] Embedding strings in a python script
To: tutor-python
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 04/
On 04/01/07, Tony Cappellini <[EMAIL PROTECTED]> wrote:
> What I'd like to know, is there a way I can embed/endcode the cvs string
> above in the python script, so that when that script is modified and checked
> into cvs, that the cvs header string above will not be modified by cvs?
What about thi
I have a number of text files which need to be checked into CVS.
Each file needs a special text header/footer in order that CVS can track
changes and version numbers.
Python to the rescue.
I've written a small python program which will write the header/footer to
all files in the current director