On May 22, 8:20 pm, alex23 <[EMAIL PROTECTED]> wrote:
> On May 23, 5:06 am, [EMAIL PROTECTED] wrote:
>
> > Nope, this is my first experience with object oriented programming,
> > only been learning python for a few weeks but it seemed simple enough
> > to inspire me to be a bit ambitious. If you co
On May 23, 5:06 am, [EMAIL PROTECTED] wrote:
> Nope, this is my first experience with object oriented programming,
> only been learning python for a few weeks but it seemed simple enough
> to inspire me to be a bit ambitious. If you could hook me up with some
> good docs that would be great. I was
On May 22, 9:59 am, alex23 <[EMAIL PROTECTED]> wrote:
> On May 22, 6:22 pm, [EMAIL PROTECTED] wrote:
>
> > Still getting very odd errors though, this being the latest:
>
> > Traceback (most recent call last):
> > File "spider.py", line 38, in
> > [...snip...]
> > raise InvalidURL("nonnumeric
On May 22, 6:22 pm, [EMAIL PROTECTED] wrote:
> Still getting very odd errors though, this being the latest:
>
> Traceback (most recent call last):
> File "spider.py", line 38, in
> [...snip...]
> raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
> httplib.InvalidURL: nonnumeric port: ''
On May 22, 2:40 am, alex23 <[EMAIL PROTECTED]> wrote:
> On May 22, 8:18 am, [EMAIL PROTECTED] wrote:
>
> > Sorry, im new to both python and newsgroups, this is all pretty
> > confusing. So I need a line in my __init__ function of my class? The
> > spider class I made inherits from HTMLParser. Its j
On May 22, 8:18 am, [EMAIL PROTECTED] wrote:
> Sorry, im new to both python and newsgroups, this is all pretty
> confusing. So I need a line in my __init__ function of my class? The
> spider class I made inherits from HTMLParser. Its just using the
> feed() function that produces errors though, the
On May 21, 11:08 am, alex23 <[EMAIL PROTECTED]> wrote:
> On May 21, 8:04 pm, alex23 <[EMAIL PROTECTED]> wrote:
>
> > Is your Spider class a subclass ofHTMLParser? Is it over-riding
> > __init__? If so, is it doing something like:
>
> > super(Spider, self).__init__()
>
> > If this is your issue[
On May 21, 8:04 pm, alex23 <[EMAIL PROTECTED]> wrote:
> Is your Spider class a subclass of HTMLParser? Is it over-riding
> __init__? If so, is it doing something like:
>
> super(Spider, self).__init__()
>
> If this is your issue[...]
I'm sorry, this really wasn't clear at all. What I meant was
On May 21, 6:58 pm, [EMAIL PROTECTED] wrote:
> Its not a variable I set, its one of HTMLParser's inbuilt variables. I
> am using it with urlopen to get the source of a website and feed it to
> htmlparser.
>
> def parse(self, page):
> try:
> self.feed(urlopen('http://' + page).re
On May 21, 9:53 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Wed, 21 May 2008 01:18:00 -0700 (PDT), [EMAIL PROTECTED]
> declaimed the following in comp.lang.python:
>
> > Any ideas of how to fix this? Im using python 2.5.2 on mac osx
>
> In the absence of minimal runable code repro
10 matches
Mail list logo