Re: [Tutor] syntax error when attempting simple urllib.request.urlopen item

2013-07-10 Thread Dave Angel
On 07/09/2013 04:00 PM, Paul Smith wrote: Tutor- Ok newbie to coding here attempting to build controlled web scraper and have followed several books-tutorials and am failing at step one. This is the 3.3.1 code I am trying to run.. === import urllib.request htmltext = urllib.request.urlopen("ht

Re: [Tutor] syntax error when attempting simple urllib.request.urlopen item

2013-07-10 Thread Hugo Arts
On Tue, Jul 9, 2013 at 10:00 PM, Paul Smith wrote: > Tutor- > > Ok newbie to coding here attempting to build controlled web scraper and > have followed several books-tutorials and am failing at step one. > > This is the 3.3.1 code I am trying to run.. > === > import urllib.request > > htmltext = u

[Tutor] syntax error when attempting simple urllib.request.urlopen item

2013-07-10 Thread Paul Smith
Tutor- Ok newbie to coding here attempting to build controlled web scraper and have followed several books-tutorials and am failing at step one. This is the 3.3.1 code I am trying to run.. === import urllib.request htmltext = urllib.request.urlopen("http://google.com";).read print htmltext ===