Behaviour of os.path.join

Roel Schroeven roel at roelschroeven.net
Wed May 27 13:40:26 EDT 2020


Ben Bacarisse schreef op 27/05/2020 om 17:53:
> There is well-known (*nix) software that relies on a/b/c/ meaning
> something different to a/b/c but I don't know anyone who thinks this is
> a good idea.  It causes no end of confusion.

rsync? I always have to look up whether or not I need to use a trailing 
/ on the source directory. It's confusing indeed.

-- 
"Honest criticism is hard to take, particularly from a relative, a
friend, an acquaintance, or a stranger."
         -- Franklin P. Jones

Roel Schroeven



More information about the Python-list mailing list