Il Mon, 31 Oct 2005 07:18:31 -0800, Ernesto ha scritto: > I'm trying to use a $ delimeter, but it doesn't seem to work. Here is > the code: > > > launchWithoutConsole("devcon.exe",d'$enable > "@USB\VID_0403&PID_6010&MI_00\7&15E4F68&1&0000"$) > > I want to send the string parameter: > > enable "@USB\VID_0403&PID_6010&MI_00\7&15E4F68&1&0000" > > to the program devcon. > > The argument itself is a string, but has quotes inside too. I've tried > it many different ways and I keep getting syntax errors. > > Thanks,
Use the single quote to delimit the string, so you can use the double quote inside it. Like this: 'enable "@USB\VID_0403&PID_6010&MI_00\7&15E4F68&1&0000"' Ciao ----- FB -- http://mail.python.org/mailman/listinfo/python-list