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

Gregory Bloom Gregory.Bloom at gmail.com
Fri Apr 27 22:09:31 CEST 2007

On Apr 27, 3:12 am, Michael Hoffman <cam.ac... at mh391.invalid> 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 Cygwin Python instead, I submitted a patch more than
> 1.5 years ago to allow it, but it hasn't been reviewed:
> http://python.org/sf/1244861
> --
> Michael Hoffman

Awesome!  That works perfectly.  Thanks.

More information about the Python-list mailing list