python: DRYer paths

(I was planning on doing the same for `python3` and `pypy`, but I remember Homebrew likes single-file, single-commit pull requests. :wink:)