At 09:47 AM 7/25/2008, Alan Gauld wrote:
"Dick Moores" <[EMAIL PROTECTED]> wrote
Here's one opinion, an answer to my second question.
Dick

And to answer your first: It depends on how you define better.

Certainly Beautiful Soup will not be muh longer and a lot more elegant and probably more resilient.

Alan, expand a bit, please. Longer? Resilient?


But to extract a single piece of text in a well defined location then your approach although somewhat crude will work just fine.

Crude? What's crude about my code? I want to improve, so please tell me. <http://py77.python.pastebin.com/fc7553a4>

Thanks,

Dick
===================================================
Have you seen Kelie Feng's video introducing the terrific and free
IDE, Ulipad? <http://www.rcblue.com/u3/>
Get Ulipad 3.9 from <http://code.google.com/p/ulipad/downloads/list>
svn for the latest revision <http://ulipad.googlecode.com/svn/trunk/>
Mailing list for Ulipad: <http://groups-beta.google.com/group/ulipad>

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to