But this works for me because I rarely need sin(), cos(), or stuff like that. It would get tedious to load the Python math functions, to remember the exact spelling of a function.
Most of these are pretty easy -- just do "from math import *" and then you have sin(), cos(), etc. imported into the root namespace.
If you want to explore, you can use something like bpython, do "import math", and just type "math." and it'll pop up a little window showing you the possibilities.
Most of these are pretty easy -- just do "from math import *" and then you have sin(), cos(), etc. imported into the root namespace.
If you want to explore, you can use something like bpython, do "import math", and just type "math." and it'll pop up a little window showing you the possibilities.