Hi there,
I am guessing these are access ports you are talking about?...and they are all using the same VLAN?...with the same switchport config?
Unless the answer is ‘yes’ to the above three questions you will be walking yourself into patching nightmare if you are planning on unplugging all the cables and then just inserting them at random into your new 4500!
…but to answer your question, yes it should be easy enough to write a python script to ssh onto the 4500, read the MAC address table and then cross reference the values to a local file to determine a port description. You could even write some jinga2 switchport templates allowing you to push a variety of different configs to the switchports depending on MAC address.
I’d wager about 5 hours to write and test the script… probably considerably longer than it would take to audit your existing 3750 patching!
Cheers,
Seb.