path.py and directory naming: trailing slash automatic?

2006-11-10 Thread [EMAIL PROTECTED]
Hi, I'm a big fan of path.py. One thing that I think is a good idea is for directories to automatically have a slash appended to them if it is not automatically added. Eg: from path import path dir = path('/some/dir') x = dir + file # should yield /some/dir/file I emailed the author of

Re: path.py and directory naming: trailing slash automatic?

2006-11-10 Thread Max Erickson
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm a big fan of path.py. One thing that I think is a good idea is for directories to automatically have a slash appended to them if it is not automatically added. Eg: from path import path dir = path('/some/dir') x = dir + file #