On Fri, 29 Jul 2005 14:38:23 +1200, Tony Meyer <[EMAIL PROTECTED]> wrote: >> def functions_which_modifies_some_file_in_place(path): >> output = open(path+'.tmp', 'w') >> ..... >> >> I dont want a seperator inserted between path and the new extension. > >Fair enough. Forget using '+' for join, then (which I was never that keen >on - TIOWTDI), but I'm still -1 on using '/' for join.
I agree. It's yuck. What's wrong with simply having each path-element as an argument to a function, e.g. join(foo, bar, baz) -- Email: zen19725 at zen dot co dot uk -- http://mail.python.org/mailman/listinfo/python-list