Odd delays when cwd is on a network mount
On 12Oct2019 14:04, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
>Cameron Simpson wrote:
>>Python's default sys.path includes the current working directory.
>Only in an interactive session, where it usually makes sense.
Personally, I would not consider this:
% python3 -c 'import sys;print(repr(sys.path))'
['', '/Users/cameron/lib/python', '/Users/cameron/rc/python',
to be interactive. It is at a terminal, but that seems a very low bar.
I see that plain "python filename.py" does not include the current
Cameron Simpson <cs at cskk.id.au>