Created
March 24, 2015 18:26
-
-
Save 4u9u5tsong/447133da601b3486762f to your computer and use it in GitHub Desktop.
genfromtxt read from a pipe with subprocess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inpstream = subprocess.check_output(cmdstr).split('\n') | |
data = sp.genfromtxt(inpstream, dtype=np.uint64) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment