Newbie Question

Mel Brown mel.b at mindspring.com
Sun Oct 7 03:45:07 EDT 2001


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

When I import sys, then print out the included module names, I get that math
and cmath are included but sting is not. When I import math and then try to
compute something simple like sin(3), I am told that the function sin() is
not available.

My question is how to make the modules math, cmath, and string available for
my use.

Any help, please?





More information about the Python-list mailing list