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

Dick Moores rdm at rcblue.com
Fri Jul 25 19:15:17 CEST 2008


At 09:47 AM 7/25/2008, Alan Gauld wrote:
>"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.

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>



More information about the Tutor mailing list