Gregory Ewing greg.ewing at
Thu Apr 21 21:43:26 EDT 2011

Algis Kabaila wrote:
> the Vector3 class 
> is available without any prefix euclid:
> import euclid 
> v = Vector3(111.., 222.2, 333.3)

Doesn't work that way for me:

Python 2.7 (r27:82500, Oct 15 2010, 21:14:33)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import euclid
 >>> Vector3
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
NameError: name 'Vector3' is not defined

Are you sure you hadn't previously done 'from euclid import
Vector3' or 'from euclid import *' in that session?


More information about the Python-list mailing list