In this chapter, we will use a GUI to convert timestamps between raw and human-readable formats. Timestamp conversion is a useful excuse to explore programming GUIs as it offers a solution to a common investigative activity. By using GUI, we can run and rerun queries with ease and without any command-line parameters to slow us down. In addition, we greatly increase the usability of our script among those afraid of the command prompt with all of its arguments and switches.
There are many options for GUI development in Python, though in this chapter, we will focus on Tkinter
. The Tkinter
library is a cross-platform GUI development library for Python that hooks into the operating system's Tcl/Tk library found on Windows, OS X, and several Linux platforms. This cross-platform framework allows us to build a common interface that is platform independent. Although Tkinter
GUIs may not look the most modern, they do allow us to rapidly build a functional interface to interact with in a...