def dupAssemblies(num):
 for i in xrange(num):
  createAssembly(('DUP' + str(i)), '', i)

def dupAssemblies ( num ) : for i in xrange ( num ) : createAssembly ( ( 'DUP' + str ( i ) ) , '' , i )
creates assemplies which are basically duplicates of each other except that foo .