nimrodx wrote:
> Basically a dumb question I can't seem to find the answer to.
> 
> How do I execute a bash command from within a python program.

To open your browser you can use the webbrowser module. To run any 
external program use os.system(). To run an actual bash command (as 
opposed to starting an external program as you might do with bash) you 
would have to run bash as the external program; I'm not sure of the 
details on that.

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to