What about
re.search("\.",str(n))
?
Michael
On 14 Jun., 19:18, "Ondrej Certik" <[EMAIL PROTECTED]> wrote:
> On Sat, Jun 14, 2008 at 6:25 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
> > On Sat, Jun 14, 2008 at 5:44 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
> >> Hi,
>
> >> how can I distinguish
On Sun, Jun 15, 2008 at 10:12 AM, Nick Alexander <[EMAIL PROTECTED]> wrote:
>
>
> On 15-Jun-08, at 6:45 AM, Mats wrote:
>>
>> Hello,
>>
>> I've done Integer=int, but however it seems that after I do "from
>> __future__ import division", I still get 2/3=1.
>
> Can you give an example?
The original
On 15-Jun-08, at 6:45 AM, Mats wrote:
>
> Hello,
>
> I've done Integer=int, but however it seems that after I do "from
> __future__ import division", I still get 2/3=1.
Can you give an example?
> This does not occur in
> the python interpreter; I get .66... as I should.
If you mean that yo
Hello,
I've done Integer=int, but however it seems that after I do "from
__future__ import division", I still get 2/3=1. This does not occur in
the python interpreter; I get .66... as I should.
Sincerely,
Mats
--~--~-~--~~~---~--~~
To post to this group, send