[Tutor] Code to open a website

mann kann mannkann5 at gmail.com
Sun Feb 10 06:32:35 CET 2013


oh wow, I foolishly named it webbrowser.py earlier.
Thanks for the witty hint, Danny :)


On Sat, Feb 9, 2013 at 11:55 PM, Danny Yoo <dyoo at hashcollision.org> wrote:

> On Sat, Feb 9, 2013 at 6:25 PM, mann kann <mannkann5 at gmail.com> wrote:
> > I used webbrowser and it worked via terminal, but the same code returns
> > AttrituteError: 'module' object has no attribute 'open' in komodo edit.
> > suggestions? here's the code:
> >
> > import webbrowser
> > webbrowser.open("http://youtube.com")
>
>
> What's the file name of your program, just out of curiosity?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130210/e7bca9d8/attachment.html>


More information about the Tutor mailing list