Email RE: Math module with PyLint

from
to
Sylvain Thenault <syt at logilab dot fr>
subject
RE: Math module with PyLint
date
2005/01/27 14:01
 
Actually math is a builtin module in python, so, it should not be a file
extension problem.

And testing a little more, I discovered that putting it in the form below
works for me (strange)

import math

def log10_2():
    return math.log10(2)



> Hi, in in the code below, I have the following error:

> ID:F0401  Unable to import 'math.log10' (No module 'math')


> from math import log10

> def log10_2():
>     return log10(2)
 
gasp, I can't reproduce this one, so I guess it's yet another windows
specific problem, probably due to file extension once again. I'll definitly
have to find a windows machine to make some test.
 


[]s

Fabio Zadrozny
------------------------------------------------------
Software Developer
ESSS - Engineering Simulation and Scientific Software
www.esss.com.br


is a reply to
has reply