logoalt Hacker News

n1tro_labtoday at 7:18 PM0 repliesview on HN

Most developers think pip install just puts files on disk and execution happens at import. But .pth files run on every Python startup, no import needed. It's not a one-time install hook like npm postinstall. It's persistent.