Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36092 > unrolled thread

Re: Can't seem to start on this

Started byMitya Sirenef <msirenef@lightbird.net>
First post2013-01-03 19:35 -0500
Last post2013-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.


Contents

  Re: Can't seem to start on this Mitya Sirenef <msirenef@lightbird.net> - 2013-01-03 19:35 -0500

#36092 — Re: Can't seem to start on this

FromMitya Sirenef <msirenef@lightbird.net>
Date2013-01-03 19:35 -0500
SubjectRe: 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/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web