Python flag/envvar to not put current directory on sys.path (but don't ignore PYTHONPATH) (original) (raw)

May 20, 2020, 2:26pm 2

Another option is to no longer add the current directory to sys.path by default. It was discussed a few times.