In article <[email protected]>,
 Richard Stallman <[email protected]> wrote:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> 
> How, in Python, can I execute a string as a shell command?

Use os.system()

https://docs.python.org/2/library/os.html#process-management

-- 
Barry Margolin, [email protected]
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
_______________________________________________
gnu-misc-discuss mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnu-misc-discuss

Reply via email to