What is the PEP8 recommendation for multiple imports from a package?
问题 The PEP8 style guide section on imports seems to be a bit ambiguous. From: https://www.python.org/dev/peps/pep-0008/#imports The first part makes sense: # Imports should usually be on separate lines: # Correct: import os import sys # Wrong: import sys, os But then it goes on to say: # It's okay to say this though: # Correct: from subprocess import Popen, PIPE How should we interpret this? subprocess is a module, so is PEP8 saying it's just OK to import multiple things from a single module on