"W. eWatson" <wolftra...@invalid.com> writes:

> Steven D'Aprano wrote:
> > NameError: name 'mod' is not defined

> So where is it? Here are the choices.
> import sys, os, glob
> import string
> from numpy import *

If you use ‘from foo import *’ you forfeit any way of saying where a
name in your code gets bound.

Hence, don't do that.

-- 
 \          “Generally speaking, the errors in religion are dangerous; |
  `\    those in philosophy only ridiculous.” —David Hume, _A Treatise |
_o__)                                           of Human Nature_, 1739 |
Ben Finney
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to