Skip to content

Instantly share code, notes, and snippets.

@nixmaniack
Created February 14, 2012 15:57
Show Gist options
  • Save nixmaniack/1827741 to your computer and use it in GitHub Desktop.
Save nixmaniack/1827741 to your computer and use it in GitHub Desktop.
Testing in IPython
cmd = 'dict surprise'
fi, fo, fe = os.popen3(cmd)
for i in fo.readlines():
print i,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment