Re: funny behavour
Timothy Smith <timothy-/[email protected]> Wed, 02 Feb 2005 09:09:43 +1000
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Message-ID | <[email protected]> |
Karsten Hilbert wrote: >>126752.95 9841 >><type 'instance'> <type 'PgInt8'> >> >>the above values can'ts be / by. it returns a none type. but if i just >>int() the last value it works like a charm >> >> >You will have to post more information to find help. > >Karsten > > theres kind of nothing more to it :\ the above values were part of a list, i was doing x = Totals[4] / Totals[9] the above out put is the result of print Totals[4], Totals[9] print type(Totals[4]), type(Totals[9]) ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl