Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3834
| 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 <greg.ewing@canterbury.ac.nz> |
| Newsgroups | comp.lang.python |
| Subject | Re: Vectors |
| Date | Fri, 22 Apr 2011 13:43:26 +1200 |
| Lines | 23 |
| Message-ID | <91c4q0Fnl4U1@mid.individual.net> (permalink) |
| References | <mailman.625.1303285644.9059.python-list@python.org> <053fd9a1-f829-4777-a6ad-32ea4b22789a@r4g2000prm.googlegroups.com> <654D9D97DA51AD479973BC2D5578603C0BE3C05BAD@PDC-MAIL-CMS01.ubisoft.org> <mailman.686.1303370707.9059.python-list@python.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 | <mailman.686.1303370707.9059.python-list@python.org> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3834 |
Show key headers only | View raw
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? -- Greg
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Vectors Algis Kabaila <akabaila@pcug.org.au> - 2011-04-20 17:47 +1000
Re: Vectors Anssi Saari <as@sci.fi> - 2011-04-20 11:07 +0300
RE: Vectors Andreas Tawn <andreas.tawn@ubisoft.com> - 2011-04-20 15:43 +0200
Re: Vectors RJB <rbotting@csusb.edu> - 2011-04-20 08:34 -0700
RE: Vectors Andreas Tawn <andreas.tawn@ubisoft.com> - 2011-04-20 17:49 +0200
Re: Vectors Algis Kabaila <akabaila@pcug.org.au> - 2011-04-21 17:25 +1000
Re: Vectors Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-04-22 13:43 +1200
Re: Vectors Algis Kabaila <akabaila@pcug.org.au> - 2011-04-22 20:58 +1000
Re: Vectors Anssi Saari <as@sci.fi> - 2011-04-21 17:07 +0300
Re: Vectors Jonathan Hartley <tartley@tartley.com> - 2011-04-25 03:49 -0700
Re: Vectors Algis Kabaila <akabaila@pcug.org.au> - 2011-04-26 21:26 +1000
Re: Vectors sturlamolden <sturlamolden@yahoo.no> - 2011-04-22 13:57 -0700
Re: Vectors Algis Kabaila <akabaila@pcug.org.au> - 2011-04-23 10:32 +1000
Re: Vectors sturlamolden <sturlamolden@yahoo.no> - 2011-04-22 21:13 -0700
Re: Vectors Algis Kabaila <akabaila@pcug.org.au> - 2011-04-23 22:26 +1000
Re: Vectors sturlamolden <sturlamolden@yahoo.no> - 2011-04-23 07:02 -0700
Re: Vectors Robert Kern <robert.kern@gmail.com> - 2011-04-24 18:49 -0500
Re: Vectors rusi <rustompmody@gmail.com> - 2011-04-24 19:59 -0700
Re: Vectors Algis Kabaila <akabaila@pcug.org.au> - 2011-04-25 17:05 +1000
csiph-web