6.- What is left?
Well, you could improve the app in many ways.
You could use some tool (the gimp for instance) to create an icon for the main window.
You also could add some fancy icons to the tree elements.
It would be nice for the app to have the ability of dropping files on it, instead of grabbing files through the menu action.
It would also be nice if we could copy to the clipboard the contents of the currently selected entry in the tree widget.
But, more importantly, you could make the parser configurable. Not every IIS log file has the same fields. Admins can configure what info they want to be kept by the IIS.
Therefore, some of the fields the app is taking into account could not even exist, resulting in 'index out of range' exceptions.
And it could be taken still one step further, to allow other sort of log files to be parsed (for instance, apache.log files, other linux system log files...)
I've stopped it here because the app does all I needed. And if I needed to make some minor changes, I could always edit the .py files and run the app right away (this is one of the nice things with interpreted languages, isn't it?).
But you could have your own requierements, so this app can be possibly improved in a number of ways. It's up to you!
Well, the tutorial is over, I hope it's been useful to help you to get started with the eric4 python IDE.
Eric4 is a very powerful tool for me, not only for python but useful for ruby too.
It's also pretty easy to use, it has a lot of plugins, and by now you should be able to dive into it by yourself.
Thank you for reading the tutorial, and enjoy your python coding.