[Tutor] Code to open a website
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...
More information about the Tutor