Environment variables - Expand

Alex Martelli aleax at aleax.it
Mon May 12 10:19:26 EDT 2003


Andrew Bennetts wrote:

> On Mon, May 12, 2003 at 11:54:43AM +0000, Alex Martelli wrote:
> [...]
>> 
>> %name% is not Python syntax for "expand this", so of course
>> it won't.  If you can rather use the Python syntax $(WINDIR)s
>                                                      ^^^^^^^^^^
> I think you meant "%(WINDIR)s".

Yes, that's indeed what I meant -- % rather than $ -- thanks.


Alex





More information about the Python-list mailing list