Windows - Need to process quotes in string...

Ernesto erniedude at gmail.com
Mon Oct 31 10:18:31 EST 2005


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,




More information about the Python-list mailing list