[Python-ideas] pathlib.Path should handle Pythonpath or package root

George Fischhof george at fischhof.hu
Tue Jul 18 08:08:47 EDT 2017


Hi there,

I created a program which uses plugins (import them). I started to test it,
and found that I need two types of paths: one for file system and another
one which is package relative.

So I thing this is a good idea, to enhance pathlib to handle package roots.

(I know about sys.path, environment variables, importlib etc, but I think
it should be in pathlib.)

BR,
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170718/0972ab9b/attachment.html>


More information about the Python-ideas mailing list