Did I find the right examples for you? yes no

All Samples(25068)  |  Call(0)  |  Derive(0)  |  Import(25068)
subprocess - Subprocesses with accessible I/O streams

This module allows you to spawn processes, connect to their
input/output/error pipes, and obtain their return codes.  This module
intends to replace several other, older modules and functions, like:

os.system
os.spawn*
os.popen*
popen2.*(more...)

src/i/i/iiswsgi-0.3/examples/pyramid.msdeploy/setup.py   iiswsgi(Download)
import sys
import os
import logging
import subprocess
import sysconfig

src/s/a/sae-python-dev-guide-HEAD/examples/django/1.2.7/static/js/compress.py   sae-python-dev-guide(Download)
#!/usr/bin/env python
import os
import optparse
import subprocess
import sys

src/o/p/opentuner-HEAD/examples/petabricks/pbtuner.py   opentuner(Download)
import argparse
import logging
import subprocess
import tempfile
import json

src/o/p/opentuner-HEAD/examples/petabricks/import_old_result.py   opentuner(Download)
import sys
import uuid
import subprocess
 
try:

src/o/p/opentuner-HEAD/examples/hpl/hpl.py   opentuner(Download)
    def run(self, desired_result, input, limit):
        self.output_hpl_datfile(desired_result.configuration.data)
        import subprocess, os
        binary = self.args.xhpl
        subprocess.call(["mpirun", "-np", str(self.args.nprocs), binary])

src/o/p/opentuner-HEAD/examples/halide/halidetuner.py   opentuner(Download)
import os
import re
import subprocess
import tempfile
import textwrap

src/o/p/opentuner-HEAD/examples/gccflags/gccflags.py   opentuner(Download)
import re
import shutil
import subprocess
import sys
 

src/p/o/pootle-HEAD/pootle/scripts/example-actions/moztarball.py   pootle(Download)
import os
import shutil
import subprocess
from contextlib import contextmanager
from datetime import datetime

src/e/d/eden-HEAD/tests/dbmigration/example_migration.py   eden(Download)
import os
import sys
import copy
import subprocess
 

src/p/y/pymacadmin-HEAD/utilities/diskimage_unittesting/tests/example_plist_test.py   pymacadmin(Download)
import shutil
import stat
import subprocess
import tempfile
import unittest

Previous  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10  Next