>>>>> "FL" == Fredrik Lundh <fredrik@pythonware.com> writes: FL> especially since someone has already added such a method, a FL> long time ago (os.path.expandvars). Of course expandvars() takes it's mapping from os.environ, but I see what you're saying. -Barry