What switch? You mean some the device the script is supposed to work on, maybe?
What do you do, that you expect to make the exec binding trigger?
Have you any Items linked to your exec Things? Perhaps you can tell us about that.
I understand language problems can make it hard work, but telling us nothing about your set up makes it harder.
For the OS itself that is correct.
Speaking about python you could use both a single forward slash or escaped backslash ( double backslash ). As far as I know this is the same for java so a single forward slash should be fine.
See also Execute python command with string attached in exec=">: format - #8 by rossko57 where a user used the exec binding and at the end used forward slashes.
problem solved:
After I checked with the guy who wrote the script, it turns out I put the wrong switcher.py file in the beginning and now it works fix.
Thanks to everyone for your comments !.