This is the final article in our Python tkinter tutorial series. If you've been following along from the beginning, you should now have a desktop file hashing application with a fully functioning graphical user interface! Here is our final product:
Here is what it looks like after successfully matching a user-supplied hash value:
And here it is on failure:
We covered a lot of ground in this tutorial. We took a pretty close look at: 1) tkinter's grid geometry management system, 2) all the most basic widgets such as labels, text entry objects, buttons, etc. and even 3) some of the newer advanced features in tkinter, such as the file dialog functionality.
For the above screen shots, I obviously cleaned up the code a bit from where we left off in the previous article, having removed the various background colors we were using for debugging purposes and some other small clean up tasks (I used one of the latter to reposition the "Hash Value" and "Result" fields, see if you can find it). Here is the final state of our code:
We hope you enjoyed the series. As always, comments, questions, suggestions and critique are welcome below.
No comments:
Post a Comment