import subprocess; from subprocess import PIPE て事ではなく?