Python Forum
How to timestamp a Python program, your thoughts?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to timestamp a Python program, your thoughts?
#2
CVS and SVN both support "keyword substitution", where you put a special string (for instance $version$) in your source and its is replaced by the CVS/SVN version number of the file when you extract it. Such substitutions can happen in string literals and can be used to set module variables. This is harder to do with Git but not impossible.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Messages In This Thread
RE: How to timestamp a Python program, your thoughts? - by Ofnuts - Dec-01-2016, 11:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python wheel packages - how to add timestamp to the wheel name? vcankovic 0 1,748 Jul-06-2022, 12:04 PM
Last Post: vcankovic
  error in timestamp Led_Zeppelin 3 5,178 Jun-15-2022, 08:28 PM
Last Post: deanhystad
  error in timestamp Led_Zeppelin 0 1,548 Jun-10-2022, 07:59 PM
Last Post: Led_Zeppelin
  Thoughts on interfacing with a QR code reader that outputs keystrokes? wrybread 1 2,219 Oct-08-2021, 03:44 PM
Last Post: bowlofred
  Newbie have thoughts about logic sdd 32 16,005 Sep-17-2021, 10:13 AM
Last Post: Serafim
  Timestamp is undefined ErnestTBass 7 10,433 Feb-16-2019, 08:27 PM
Last Post: snippsat
  timestamp not updating bowen73 3 8,592 Aug-20-2017, 11:13 PM
Last Post: bowen73
  matplotlib timestamp zero_shubh0 2 7,849 Dec-02-2016, 02:12 PM
Last Post: zero_shubh0

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020