Re: [Tutor] retrieve URLs and text from web pages

2010-06-28 Thread Tino Dai
On Sun, Jun 27, 2010 at 12:15 PM, Khawla Al-Wehaibi wrote: > Hi, > > I’m new to programming. I’m currently learning python to write a web > crawler to extract all text from a web page, in addition to, crawling to > further URLs and collecting the text there. The idea is to place all the > extracte

Re: [Tutor] OT: need computer advice from wise Tutors

2010-06-28 Thread Richard D. Moores
On Mon, Jun 28, 2010 at 17:32, Steven D'Aprano wrote: > On Mon, 28 Jun 2010 10:52:03 am Richard D. Moores wrote: >> On Sun, Jun 27, 2010 at 16:25, Steven D'Aprano > wrote: >> > On Mon, 28 Jun 2010 03:07:47 am Richard D. Moores wrote: >> >> A "feature" very important to me >> >> is that with Gmail

Re: [Tutor] OT: need computer advice from wise Tutors

2010-06-28 Thread David Hutto
On Mon, Jun 28, 2010 at 8:32 PM, Steven D'Aprano wrote: > On Mon, 28 Jun 2010 10:52:03 am Richard D. Moores wrote: >> On Sun, Jun 27, 2010 at 16:25, Steven D'Aprano > wrote: >> > On Mon, 28 Jun 2010 03:07:47 am Richard D. Moores wrote: >> >> A "feature" very important to me >> >> is that with Gma

Re: [Tutor] OT: need computer advice from wise Tutors

2010-06-28 Thread Steven D'Aprano
On Mon, 28 Jun 2010 10:52:03 am Richard D. Moores wrote: > On Sun, Jun 27, 2010 at 16:25, Steven D'Aprano wrote: > > On Mon, 28 Jun 2010 03:07:47 am Richard D. Moores wrote: > >> A "feature" very important to me > >> is that with Gmail, my mail is just always THERE, with no need to > >> download

Re: [Tutor] What is super for?

2010-06-28 Thread Steven D'Aprano
On Tue, 29 Jun 2010 02:15:00 am Adam Bark wrote: > I can't figure out how super(C, self).__init__() is any better than > C.__init__(self), is there a preference? Does super do something > special? You've written that slightly wrong. You write the name of the *parent* class in the direct call to

Re: [Tutor] Fwd: HELP!

2010-06-28 Thread Lang Hurst
On 06/28/2010 01:36 PM, Chris wrote: My friend jacob had a question. I can't really answer it, but you guys can. Send you replies to him not me. Oh, and jacob, I'm forwarding you message to the Python Mailing list. Chris, I tried the py2exe thing again, but things are getting confusing... It

Re: [Tutor] Fwd: HELP!

2010-06-28 Thread Chris
On 06/28/2010 05:17 PM, Walter Prins wrote: On 28 June 2010 21:36, Chris http://g.nius.ck>@gmail.com > wrote: My friend jacob had a question. I can't really answer it, but you guys can. Send you replies to him not me. Oh, and jacob, I'm forwarding you message to th

Re: [Tutor] Fwd: HELP!

2010-06-28 Thread Walter Prins
On 28 June 2010 21:36, Chris wrote: > My friend jacob had a question. I can't really answer it, but you guys > can. Send you replies to him not me. Oh, and jacob, I'm forwarding you > message to the Python Mailing list. > > Hi Chris/Jacob, I'm not sure if it's just me, but I'd have been slightl

[Tutor] Fwd: HELP!

2010-06-28 Thread Chris
My friend jacob had a question. I can't really answer it, but you guys can. Send you replies to him not me. Oh, and jacob, I'm forwarding you message to the Python Mailing list. Original Message Delivered-To: g.nius...@gmail.com Received: by 10.216.7.204 with SMTP id 54cs12

Re: [Tutor] What is super for?

2010-06-28 Thread Alan Gauld
"Adam Bark" wrote I can't figure out how super(C, self).__init__() is any better than C.__init__(self), is there a preference? Does super do something special? Whoops I should really think about these things for a minute first, you don't have to know the superclass in advance is presumabl

Re: [Tutor] What is super for?

2010-06-28 Thread Adam Bark
On 28 June 2010 17:15, Adam Bark wrote: > I can't figure out how super(C, self).__init__() is any better than > C.__init__(self), is there a preference? Does super do something special? > > Thanks. > Whoops I should really think about these things for a minute first, you don't have to know the s

[Tutor] What is super for?

2010-06-28 Thread Adam Bark
I can't figure out how super(C, self).__init__() is any better than C.__init__(self), is there a preference? Does super do something special? Thanks. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.pytho

Re: [Tutor] capturing error msg in exception

2010-06-28 Thread Steven D'Aprano
On Mon, 28 Jun 2010 06:04:31 pm Adam Bark wrote: > I'm sure this "work it out yourself" answer is much more helpful. Unfortunately, the only correct answer is that there is no One True Answer. A bit like life, really. -- Steven D'Aprano ___ Tutor ma

Re: [Tutor] capturing error msg in exception

2010-06-28 Thread Adam Bark
On 28 June 2010 00:27, Steven D'Aprano wrote: > On Mon, 28 Jun 2010 03:12:39 am Adam Bark wrote: > > > I think the 'as' syntax is only available in Python 3.x > > You think wrong. It is available from Python 2.6 onwards. > I know, I corrected myself after Steve Willoughby pointed it out. > > >