[I wrote] > Is this supposed to work: > > filename = "$HOME/foo" > f = file(filename) > ... > > It doesn't seem to. Doh, that's what os.path.expandvars() is for. Sorry, // m -