Links for November 17, 2014

There’s no magic: virtualenv edition: I didn’t really get virtualenvs until long after I started programming Python, though they’re now an essential part of my toolkit. This is a great post explaining how they work.

Traps for the Unwary in Python’s Import System: “Python’s import system is powerful, but also quite complicated.”

pyfmt: I recently learned about gofmt for auto-formatting Go code. Here’s a similar tool for Python.

Q: Setting User-Agent Field?: A 1996 question in on how to set the user agent field for a Java crawler. The signature on the question? Thanks, Larry Page

alecthomas/importmagic: Python tool and Sublime extension for automatically adding imports.

Last updated on Feb 12, 2024 19:33 -0500