> Date: Fri, 25 Jul 2008 05:14:32 -0700
> From: Dick Moores <[EMAIL PROTECTED]>
> Subject: [Tutor] Is there a better way to get a current mid-rate Yen
>         quote with Python?
> To: Python Tutor List <tutor@python.org>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"; format=flowed
> 
> Better than this? <http://py77.python.pastebin.com/fc7553a4>
> 
> I've heard about BeautifulSoup. 
> <http://www.crummy.com/software/BeautifulSoup/>. Is it worth 
> learning? Is it crummy? ;-)
> 
> So 2 questions.
> 
> Thanks,
> 
> Dick Moores

Slightly better would be to use the re (regular expression) module.
It'd be more flexible than coding and easier than Beautiful Soup (which,
IMHO, is an overkill for simple data extraction like this).

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

Reply via email to