i = 0 for arg in args: args[i] = "\'%s\'" % (arg) i+=1 args = tuple(args)