Alan Gauld wrote:
> "Alan Gauld" <[EMAIL PROTECTED]> wrote
>
>> it doesn't throw errors when you get an http error back,
>
> Oops, confusing myself here.
> Its urllib2 that throws errors and nothing to do with HTMLParser.
> The advantage of HTMLParser is the lack of a need for a
> formatter and
"Alan Gauld" <[EMAIL PROTECTED]> wrote
> it doesn't throw errors when you get an http error back,
Oops, confusing myself here.
Its urllib2 that throws errors and nothing to do with HTMLParser.
The advantage of HTMLParser is the lack of a need for a
formatter and writer object.
Sorry for any co
"Kent Johnson" <[EMAIL PROTECTED]> wrote in
> FWIW most real-world HTML parsers (including Beautiful Soup) seem to
> be
> based directly on SMTPlib, not htmllib or HTMLParser.
Yes, I noticed that, although htmllib is itself based on sgmllib...
And it has a better event based parsing model but un
"Kent Johnson" <[EMAIL PROTECTED]> wrote
> On a lawyerly note, I think your Google example violates Google's
> terms
> of service which prohibits any automated access.
> http://www.google.com/accounts/TOS
Thanks for pointing that out Kent.
It probably explains why they send me a Restricted HTTP
Tim Golden wrote:
> Kent Johnson wrote:
>> FWIW most real-world HTML parsers (including Beautiful Soup) seem to
>> be based directly on SMTPlib, not htmllib or HTMLParser.
>
> I'm assuming you mean sgmllib here?
:-) yes, I mean sgmllib.SGMLParser
Kent
___
Kent Johnson wrote:
> FWIW most real-world HTML parsers (including Beautiful Soup) seem to be
> based directly on SMTPlib, not htmllib or HTMLParser.
I'm assuming you mean sgmllib here?
TJG
___
Tutor maillist - Tutor@python.org
http://mail.python.org
Alan Gauld wrote:
>
> "Switanek, Nick" <[EMAIL PROTECTED]> wrote
>
>> Please let us know when you have a draft of your tutorial on Beautiful
>> Soup and such. I'd be eager to have a look!
>
> Here is the current draft, the concepts bits are all there (nothing
> on Beautiful Soup as yet) but the
"Switanek, Nick" <[EMAIL PROTECTED]> wrote
Please let us know when you have a draft of your tutorial on
Beautiful
Soup and such. I'd be eager to have a look!
Here is the current draft, the concepts bits are all there (nothing
on Beautiful Soup as yet) but the example is giving me some heada
Alan,
Please let us know when you have a draft of your tutorial on Beautiful
Soup and such. I'd be eager to have a look!
Thanks,
Nick
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
"R. Alan Monroe" <[EMAIL PROTECTED]> wrote
> You can drive the fat client via COM if you install the Win32
> extensions for python.
>
>> (I know I could do it with a torturous combination of applescript
>> and
>
> Except judging by this, you're on a MAC... so maybe not. Still,
> working WITH the
> I'm starting graduate school (econ!) in the Fall; the school I'll be
> attending uses Lotus for email
You can drive the fat client via COM if you install the Win32
extensions for python.
> (I know I could do it with a torturous combination of applescript and
Except judging by this, you're on
"James Cunningham" <[EMAIL PROTECTED]> wrote
> I'd like to write a daemon that logs into the text-based web client
> every so often, scrapes for new email, and uses smtplib to send that
> email to another email address.
Kent has pointed you at useful add-on modules.
Using the standard library co
On Wed, 18 Apr 2007 12:15:26 -0400, Kent Johnson wrote:
> James Cunningham wrote:
>
>> I'd like to write a daemon that logs into the text-based web client
>> every so often, scrapes for new email, and uses smtplib to send that
>> email to another email address. But I really don't know how I'd go
>
James Cunningham wrote:
> I'd like to write a daemon that logs into the text-based web client
> every so often, scrapes for new email, and uses smtplib to send that
> email to another email address. But I really don't know how I'd go
> about logging in and staying logged in without a browser.
>
>
Hello. I've been playing with Python for a while, and even have some
small scripts in my employ, but I have a bit of a problem and I'm not
sure how to proceed.
I'm starting graduate school (econ!) in the Fall; the school I'll be
attending uses Lotus for email and allows neither forwarding nor
POP/
15 matches
Mail list logo