Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36092 > unrolled thread
| Started by | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| First post | 2013-01-03 19:35 -0500 |
| Last post | 2013-01-03 19:35 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Can't seem to start on this Mitya Sirenef <msirenef@lightbird.net> - 2013-01-03 19:35 -0500
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2013-01-03 19:35 -0500 |
| Subject | Re: Can't seem to start on this |
| Message-ID | <mailman.66.1357259719.2939.python-list@python.org> |
On 01/03/2013 07:08 PM, Kene Meniru wrote:
> LinearSide.put("Dining", (x,y,z)) # moves 'Dining' to x,y,z location
>
> The put function of the LinearSide boundary class finds "Dining" (which is
> an entity class called LinearSideData) in the dictionary and then allows
> this LinearSideData class to calculate its new location using the x,y,z
> values provided.
That's what I thought, just wanted to confirm.
However, if your objective to make it as easy for the user as possible,
is it not easier to bind dining to a name and then do this?:
dining.move(x, y, z)
--
Lark's Tongue Guide to Python: http://lightbird.net/larks/
Back to top | Article view | comp.lang.python
csiph-web