I am currently using the application Canopy produced by Enthought and I have the requirement that each file I make has to contain a comment at the top saying who the author is, when the file was created and when it was last edited.
I would like to know if there is a way that when I create a new file in Canopy (specifically a python file) it can automatically populate the file with this information at the top. Similarly if I were to re-open the file after it had been saved, or upon each new save it would automatically update the relevant last edited part of the comment with a new datetime stamp.
I have been advised by the Enthought application to submit my question to Stackoverflow so I hope it is appropriate.