This is all on Windows.
I was surprised to discover that
os.path.split(".")
returns
('', '.')
rather than
('.', '')
i.e. the dot is treated as (part of) a file name rather than a directory
name.
After all, "." is not a valid file name (though it could be part of a
file name) but IS a valid directory name.
Is there a good reason for this? Best wishes Rob Cliffe -- https://mail.python.org/mailman3//lists/python-list.python.org
