Re: [Pythonmac-SIG] Baffling if statement

2005-09-22 Thread Kent Quirk
Title: Baffling if statement What are the actual types of temp and Cutoff? Is it possible that you’re not comparing apples to apples?   For example, suppose you don’t realize that one of your values is a string?   >>> t1="0.19" >>> t2=0.24 >>> print t1 0.19 >>> print t2 0.24 >>> p

Re: [Pythonmac-SIG] Baffling if statement

2005-09-22 Thread Bob Ippolito
On Sep 22, 2005, at 3:34 PM, Kirk Durston wrote: After spending a couple hours trying to figure out what is going on, I’m asking for help. Below is a short segment from a module I’ve written. Before the part shown below, temp and Cutoff are defined. then comes the following:     blank='-'