Re: [Tutor] How do I open my browser from within a Python program

2006-09-15 Thread Simon Brunning
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

Re: [Tutor] How do I open my browser from within a Python program

2006-09-14 Thread Simon Brunning
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

Re: [Tutor] How do I open my browser from within a Python program

2006-09-14 Thread Kent Johnson
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

[Tutor] How do I open my browser from within a Python program

2006-09-14 Thread nimrodx
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)