A couple of days ago amongst report writing and research I suddenly felt quite lazy but needed to keep in the working mood. So I decided to put the newest CyberSpeak podcast on while I had a lay down. Surely listening to a forensic podcast while having a quick lie down is still deemed as work right?
Anyway…Andrew Case from Registry Decoder was discussing his new program he and other developers have been working on programmed in Python. I have recently started using Python at University for encryption / decryption tasks and straight away fell in love with its ruggedness and effectiveness. All this seems like a bit of waste of information but it made me wonder “should I develop my program in Python?”
The idea had already crossed my mind, but the one problem was Python’s lack of GUI. Well apparently not, turns out if you Google “GUI implementation in Python” you get a wide array of very useful websites. Who would of thought eh?
After a few button clicks and a bit of reading I came to the conclusion I would like to try EasyGUI. The main reason is actually how easy it is to implement. Once you have ran the setup.py file EasyGUI is just a call away.
For example, when wanting to display a message box:
eg.msgbox("Hello, world!")
And a lovely message box appears. Or how about a list of categories a user can select?
msg = "What is your favorite flavor?" title = "Ice Cream Survey" choices = ["Vanilla", "Chocolate", "Strawberry", "Rocky Road"] choic = eg.choicebox(msg, title, choices)
Now that is easy![]()
Unfortunately due to being orientated around ease you cannot build complex GUI's but there are Python GUI's
that implement OpenGL for those whom would like to make something a little bit more complicated.
Check EasyGUI out here: http://easygui.sourceforge.net/