brian at sweetapp.com
Mon Sep 17 07:06:24 CEST 2001
> As I said, I *did* import math, then tried to run sin(3), as an
> message came up that said that sin was an unknown variable. It
> even recognize it as a function, much less evaluate it with its
> argument. And that is what prompted my question.
> Fortunately others have read my question more carefully and supplied
> with useful answers.
1. You are pretty bitchy to people who are trying to help you
2. Python doesn't care about the context that a symbol is used in until
it can retrieve it. And are you sure that the exception indicated that
it was a variable and not a "name"?
More information about the Python-list