[path-PEP] Path inherits from basestring again

Tony Meyer t-meyer at ihug.co.nz
Thu Jul 28 22:38:23 EDT 2005


> 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.

=Tony.Meyer




More information about the Python-list mailing list