Did I find the right examples for you? yes no

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/n/i/nipy-0.3.0/tools/run_log_examples.py   nipy(Download)
import re
from nibabel.py3k import asstr
from nipy.externals.argparse import (ArgumentParser,
            if proc.poll() is None: # In case we get killed
        return asstr(stdout), asstr(stderr), proc.returncode

src/n/i/nipy-0.3.0/nipy/utils/tests/test_compat3.py   nipy(Download)
""" Testing compat3 module
from __future__ import with_statement
from nibabel.py3k import asstr, asbytes
def test_to_str():
    # Test routine to convert to string
    assert_equal('1', to_str(1))
    assert_equal('1.0', to_str(1.0))
    assert_equal('from', to_str(asstr('from')))