# ShowCompanyClass.py """ Illustrates the the methods that are part of the class Company. """ from TheCompanyClass import * # Set up a company object and display Inventory = array([[10,36,22,15,62],[12,35,20,12,66],[13,37,21,16,59]]) Cost = array([[38,5,99,34,42],[82,19,83,12,42],[51,29,21,56,87]]) A = Company(Cost,Inventory) A.show() # Process a purchase order PO = array([1,0,12,29,5]) print PO (k,costk) = A.theCheapest(PO) print '\nFactory %1d will fill the PO' % k A.Update(k,PO) A.show()