Newbie Question

Brian Quinlan brian at sweetapp.com
Mon Sep 17 01:06:24 EDT 2001


> 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.

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 mailing list