Re: webbrowser.open works in IDLE and cmd shell but not from cygwin prompt

2007-04-28 Thread Steve Holden
Gregory Bloom wrote: > On Apr 27, 3:12 am, Michael Hoffman <[EMAIL PROTECTED]> wrote: >>> And, more to the point, how can I use webbrowser from scripts launched under >> > cygwin? >> >> If you're using native Windows Python as you seem to be, try >> webbrowser.get("windows-default").open_new(url)

Re: webbrowser.open works in IDLE and cmd shell but not from cygwin prompt

2007-04-27 Thread Gregory Bloom
On Apr 27, 3:12 am, Michael Hoffman <[EMAIL PROTECTED]> wrote: > > And, more to the point, how can I use webbrowser from scripts launched under > > > cygwin? > > If you're using native Windows Python as you seem to be, try > webbrowser.get("windows-default").open_new(url) > > If you want to use Cy

Re: webbrowser.open works in IDLE and cmd shell but not from cygwin prompt

2007-04-27 Thread Michael Hoffman
Gregory Bloom wrote: > I'm running Python 2.5 under Windows. If I fire up IDLE and enter: > import webbrowser url = 'http://www.python.org' webbrowser.open_new(url) > > it works like a champ, opening the page in Firefox. Same thing goes > from a Windows cmd shell: it works as adv

Re: webbrowser.open works in IDLE and cmd shell but not from cygwin prompt

2007-04-26 Thread Paddy
On Apr 27, 5:09 am, Gregory Bloom <[EMAIL PROTECTED]> wrote: > I'm running Python 2.5 under Windows. If I fire up IDLE and enter: > > >>> import webbrowser > >>> url = 'http://www.python.org' > >>> webbrowser.open_new(url) > > it works like a champ, opening the page in Firefox. Same thing goes >

webbrowser.open works in IDLE and cmd shell but not from cygwin prompt

2007-04-26 Thread Gregory Bloom
I'm running Python 2.5 under Windows. If I fire up IDLE and enter: >>> import webbrowser >>> url = 'http://www.python.org' >>> webbrowser.open_new(url) it works like a champ, opening the page in Firefox. Same thing goes from a Windows cmd shell: it works as advertised. But if I open a cygwin b