in reply to check modules used by a script and their version

carlriz has asked clarification about this code here maybe someone will found it useful


There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.