list_comps = [Computer(name, '192.168.1.{}'.format(IP)) for IP in range(12)]
for comp in list_comps:
    frobnicate(comp)
print('Frobnicating the computer located at {comp.IP}'.format(comp=comp))
The use of punctuation in python format strings