Something similar to this should help get you pointed in the right direction.
#!/usr/bin/env python
import os
USER = "sambauser"
HOSTS = ["10.1.1.x", "10.1.1.x", "10.1.1.x", "10.1.1.x", "10.1.1.x"]
SHARES = ["n", "b", "m", "k", "w"]
for share in SHARES:
for host in HOSTS:
os.popen("mount -t cifs //%s/%s /r/loads/%s -o username=%s"%(host, share, share, USER)
print "Mounted //%s/%s on /r/loads/%s as %s" % (host, share, share, USER)
print "done"