4 ms·
I have >10y python exp. Vanilla import system? I grasp it quite well. - Entrypoints? Getting there. - Namespace packages? Ehh. Murky - site-packages/mypackag
by kortex 5y ago
I have >10y python exp. Vanilla import system? I grasp it quite well.
- Entrypoints? Getting there.
- Namespace packages? Ehh. Murky
- site-packages/mypackage.pth - I get it but I don't know why sometimes it appears and other times not
- c extensions? Ehhh.
- .so loading? Kinda magic.
- the confluence of editable installs, namespace packages, foo.pth, PYTHONPATH, sys.path, relative imports, entry points, virtualenvs, LD_LIBRARY_PATH, PATH, shell initialization, setup.py vs pyproject.toml? Um yeah that's some heavy wizardry.
Tbf, you don't need the vast majority of that to be effective in python.