Re: [Tutor] If elif not working in comparison

2005-03-28 Thread orbitz
Floats are inherintly inprecise. So if thigns arn't working like you expect don't be surprised if 0.15, 0.12, and 0.1 are closer to the same number than you think. On Mar 28, 2005, at 6:32 AM, Kent Johnson wrote: gerardo arnaez wrote: Hi all, I am trying to get a value dependant on initial vlau

Re: [Tutor] String matching?

2004-12-07 Thread orbitz
Instead of copying and pasting and then just doing a simple match, why not use urllib2 to download the html and then run through it with HTMLParse? Liam Clarke wrote: Hi all, I have a large amount of HTML that a previous person has liberally sprinkled a huge amount of applets through, instead o