Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51176
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Beginner. 2d rotation gives unexpected results. |
| Date | 2013-07-24 19:55 -0400 |
| References | <0a905ff1-199c-4900-81e6-d9b7bb63bb44@googlegroups.com> <CAN1F8qX10vN5Ks2MYT37Oa=rH02M8qKLVvS2D8r2eLA_+hdcmA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5073.1374710157.3114.python-list@python.org> (permalink) |
On 7/24/2013 5:17 PM, Joshua Landau wrote: > import math as m > > > GAH! > > Why on earth would you do such a thing? for the same reason people do 'import tkinter as tk': to minimize typing and maximize clarity. In this case, from math import sin, cos, radians also works well -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Beginner. 2d rotation gives unexpected results. enmce@yandex.ru - 2013-07-23 05:34 -0700
Re: Beginner. 2d rotation gives unexpected results. Peter Otten <__peter__@web.de> - 2013-07-23 15:11 +0200
Re: Beginner. 2d rotation gives unexpected results. Nobody <nobody@nowhere.com> - 2013-07-23 16:20 +0100
Re: Beginner. 2d rotation gives unexpected results. David Hutto <dwightdhutto@gmail.com> - 2013-07-23 09:04 -0400
Re: Beginner. 2d rotation gives unexpected results. Joshua Landau <joshua@landau.ws> - 2013-07-24 22:17 +0100
Re: Beginner. 2d rotation gives unexpected results. Terry Reedy <tjreedy@udel.edu> - 2013-07-24 19:55 -0400
csiph-web