Re: [Tutor] validating decimal class

2008-11-05 Thread Brian Lane
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > hello > silly question, but i can't seem to figure it it. > > I have an object which is: > type(price) > > > but i can't figure how to validate against it. > if not isinstance(price, decimal.Decimal): >

Re: [Tutor] decision structures

2008-10-20 Thread Brian Lane
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bob gailer wrote: > Brummert_Brandon wrote: >> Hello. I am working with python for computer science this semester. I am >> having a difficult time on one of my lab assignments. It is in the python >> programming book in chapter 7 under decision st