Hacker News new | ask | show | jobs
by rch 4304 days ago
Try the python 'sh' module (https://github.com/amoffat/sh). For example:

  from sh import git
  print git('version')