2 ms·
> Too long; didn’t read: Add this at the beginning of your “main” script. Better yet, put it in sitecustomize.py or usercustomize.py , which are intentionally
by zahlman 1y ago
> Too long; didn’t read: Add this at the beginning of your “main” script.
Better yet, put it in sitecustomize.py or usercustomize.py , which are intentionally provided as hooks to customize your environment. Now you get it for all your projects, and don't have to take it out for packaging (or leave it in, I guess there are people who would do that...).
https://docs.python.org/3/library/site.html https://docs.python.org/3/library/site.html
- boltzmann64 1y agoThank you for the usercustomize.py tip.