The primary reason I decided to revive my rusty programming skills was to automate tedious or time-consuming functions at work. I’m a big proponent of automation whenever possible and in an age of employment where we’re all asked to do more with less, I’ll gladly invest the time required to “automate all the things”.
However, automation is only useful if embraced by everyone that can benefit from it. Despite frequent lip service from colleagues who expressed excitement over the creation of a few of my applications, I had reservations about who may actually be using what within the team.
So I decided to have a look…
Several weeks ago I placed a small bit of code in all of my applications to capture their usage data:
import getpass # Required to read username from the command line def trackUsage(): # This function appends a line to a file with the timestamp, user name # and name of the application so I can see who is using what with open("X:\path\to\file.log", "a") as appUsage: try: appUsage.write(str(datetime.now())+","+getpass.getuser()+","+__title__+" "+__version__+"\n") except IOError: pass
Of course, it could be that some of my teammates are using antiquated versions of some of my applications despite corrected bugs or limited functionality — and there certainly isn’t any way for me to determine that. Given the frequency in which I have communicated that each person obtain the newest version AND the results I’ve outlined above — I must conclude that either my enthusiasm for improving our work flow and time management isn’t shared among my team or I hold my applications in higher regard than they’re actually worth.