On 9/15/06, Will Shattuck <[EMAIL PROTECTED]> wrote:
> On 9/14/06, Simon Brunning <[EMAIL PROTECTED]> wrote:
> >
> > To open a web browser from within a python program, you want something like:
> >
> > import webbrowser
> > webbrowser.open('www.google.com')
> >
>
> I learned something tonight :) I
On 9/14/06, nimrodx <[EMAIL PROTECTED]> 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.
Well, this question doesn't match the subject line. So, *two* answers.
To open a web browser from within a python progra
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 star
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.
I've been looking through my book on python, and the docs, but can't
seem to find something so basic (sure it is
there, but I am not looking for the correct terms, I guess)