Windows - Need to process quotes in string...
bockman at virgilio.it
Mon Oct 31 17:02:29 CET 2005
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:
> 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.
Use the single quote to delimit the string, so you can use the double
quote inside it. Like this:
More information about the Python-list