[Tutor] Is there a better way to get a current mid-rate Yen quote with Python?

Alan Gauld alan.gauld at btinternet.com
Fri Jul 25 18:47:25 CEST 2008


"Dick Moores" <rdm at rcblue.com> 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.

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

Alan G



More information about the Tutor mailing list