Hi again, I am trying to create a string this way:
insertion = "INSERT INTO mytable(week %s) VALUES (\%s, \%s)" % osStringI not enough arguments for format string Where the first %s is going to be substitute by the variable osStringI, but the other two VALUES (\%s, \%s), should be created as literals '%s'. How can I do that? Regards, -- Toni When your work speaks for itself, don't interrupt. -- Henry J. Kaiser _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor