Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gregory Ewing Newsgroups: comp.lang.python Subject: Re: Vectors Date: Fri, 22 Apr 2011 13:43:26 +1200 Lines: 23 Message-ID: <91c4q0Fnl4U1@mid.individual.net> References: <053fd9a1-f829-4777-a6ad-32ea4b22789a@r4g2000prm.googlegroups.com> <654D9D97DA51AD479973BC2D5578603C0BE3C05BAD@PDC-MAIL-CMS01.ubisoft.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net fSq2zq/tMLhryxFuRqNlxwEhGr4Tf0EvHr82zFfgm5ENGe6jFs Cancel-Lock: sha1:HfgvXPruKm2SADpOdMAizob1qaQ= User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711) X-Accept-Language: en-us, en In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3834 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 "", line 1, in 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? -- Greg