Alberto Valverde wrote:
> Hi,
>
> I'm using paste.script to generate a project's structure using
> templates. I need to insert a literal ${foo} in a template, however,
> paste.script interprets this as one of it's place holders and barfs
> because the variable doesn't exist. I've tried escaping the $ and the
> curly braces with \ with no success.
>
> Is there any way to escape them so they get to the final output as-is?
If it is string.Template that is doing the substitution, then $$ will
escape it. Cheetah uses \$.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users