MRAB wrote: > Robert Kern wrote: >> The last character in that string is a double quote. You don't want that. >> What >> you want to do is escape all of the backslashes (or use raw strings to avoid >> the >> escaping altogether). E.g. >> >> "C:\\Documents and >> Settings\\Amit\\Desktop\\glpk-4.9\\glpk-4.9\\examples\\" >> >> or >> >> r"C:\Documents and Settings\Amit\Desktop\glpk-4.9\gplk-4.9\examples\" >> > The second example won't work: you can't have a final backslash in a > raw string!
My apologies. You are correct. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list