Newbie Question

Mel Brown mel.b at mindspring.com
Mon Oct 8 00:40:24 EDT 2001


"Erik Max Francis" <max at alcyone.com> wrote in message

> > I am trying to get Python up and running. Among the modules that I
> > know that
> > I will need are math, cmath, and string.
>
> So import them:
>
> import math
> import cmath
> import string

Not quite.

As I said, I *did* import math, then tried to run sin(3), as an example. A
message came up that said that sin was an unknown variable. It wouldn't even
recognize it as a function, much less evaluate it with its intended
argument. And that is what prompted my question.

Fortunately others have read my question more carefully and supplied me with
useful answers.

Thanks anyway.





More information about the Python-list mailing list