On Mon, Oct 08, 2012 at 08:47:07PM +0200, Antoine Pitrou email@example.com wrote:
- `p[q]` joins path q to path p
-1. Confusing with p[-2]
- `p + q` joins path q to path p
-0. What is "path addition"? Concatenation? Joining? Puzzled...
- `p / q` joins path q to path p
+0. Again, "path division" is a bit strange but at least I understand '/' is the separation symbol.
- `p.join(q)` joins path q to path p
+1. That one I love best, even with the name "join". I used to use os.path.join() quite extensively so there is no chance I confuse that with str.join().