Another commenter mentioned that much of the code was taken from a tutorial [0], so it might be worth checking that out :) It goes step by step with commented code and explanations.
Thanks for the link. I looked over the code on the main page only (did not delve deeper) and honestly... it's like night and day. The code by sukeesh is as easy to follow and modify as a simple scripting language. Truly a work of art:)
I've come across similar code that I've been able to immediately cannibalize for personal use on my system. The last time was a script that displayed colored quotes whenever I opened the terminal. Learned an awful lot about coloring text output, randomizing the text and a bit about arrays because it was easy to follow and the app was complete and useful to me. As opposed to learning by snippets.
The tutorial code at pythonspot.com... not terribly friendly I'm afraid (without a detailed tutorial):-( I can understand how an advanced programmer can see logical similarities but the actual code itself scared me away.lol Sorta' like writing the same program: one in rexx and another in bash.
I've come across similar code that I've been able to immediately cannibalize for personal use on my system. The last time was a script that displayed colored quotes whenever I opened the terminal. Learned an awful lot about coloring text output, randomizing the text and a bit about arrays because it was easy to follow and the app was complete and useful to me. As opposed to learning by snippets.
The tutorial code at pythonspot.com... not terribly friendly I'm afraid (without a detailed tutorial):-( I can understand how an advanced programmer can see logical similarities but the actual code itself scared me away.lol Sorta' like writing the same program: one in rexx and another in bash.