Hi, On 24 February 2012 16:29, David Craig <dcdavem...@gmail.com> wrote: > Hi, > I am new to python and have made a couple of definitions. I imported them > and they worked ok except for one which gave me the error "NameError: global > name 'np' is not defined". I then edited my script for the def to include > "import numpy as np" saved it and imported the def again. However, it still > gives me the same error. I know I have to be doing something basic wrong but > cant figure it out, anyone know what I am doing wrong. The def is below. > thanks
I see others have responded to another post in more detail so please feel free to ignore my brief response. :) Walter _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor