Re: [Tutor] Code to open a website

2013-02-09 Thread mann kann
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 wrote: > On Sat, Feb 9, 2013 at 6:25 PM, mann kann wrote: > > I used webbrowser and it worked via terminal, but the same code returns > > Attritut

Re: [Tutor] Code to open a website

2013-02-09 Thread mann kann
PM, Wayne Werner wrote: > On Sat, 9 Feb 2013, mann kann wrote: > > Dear Jedi, >> I wrote my first program but it doesn't open a website as I intended it >> to. >> Please correct my mistake. >> >> Sincerely, >> Mann >> > > You'll

[Tutor] Code to open a website

2013-02-09 Thread mann kann
Dear Jedi, I wrote my first program but it doesn't open a website as I intended it to. Please correct my mistake. Sincerely, Mann def a(): import urllib.request url = "http://www.google.com"; response = urllib.request.urlopen(url) g = input("Please enter y or n to go to youtube :