Beginner question: Logs?

Elliot Temple curi at curi.us
Thu Jun 2 00:23:45 EDT 2005


On Jun 1, 2005, at 9:04 PM, Svens wrote:

> Hey thanks...
>
> Still getting an error message though.  Here's what i'm doing:
> ------
> import math
> log10(15625)
> ------
> -It says that log10 is not defined, but it is since the module is
> imported, right?

do either

import math
math.log10(15625)


from math import *
log10(15625)

from math import log10
log10(15625)




-- Elliot Temple
http://www.curi.us/


---
[This E-mail scanned for viruses by Declude Virus]




More information about the Python-list mailing list