Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The subprocess mode is really not that complicated. Your example can be written as:

    content = subprocess.check_output(x, shell=True)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: