[Zope] [Re] External Editor 0.5 Problem win98 Zope

Thomas B. Passin tpassin@mitretek.org
Fri, 23 Aug 2002 13:59:03 -0400


[Elena Schulz]
>
> I registered the .dtml for the editor "E:\EditPlus\editplus.exe" but with
no
> effect. So I changed the
> ZopeEdit.ini:
>
> ---- snip
>
> (I tried with and without "" no change)
> editor = "E:\EditPlus\editplus.exe"
>

Depending on how the strings are processed you might need to double the
backslashes or alternatively declare the strings to be "raw":

editor = "E:\\EditPlus\\editplus.exe"

or

editor = r"E:\EditPlus\editplus.exe"

This would apply if they are just normal python statements, since the "\"
character is an escape character in python.

Cheers,

Tom P