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


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

Re: Can't seem to start on this

Started byKene Meniru <Kene.Meniru@illom.org>
First post2013-01-03 19:08 -0500
Last post2013-01-03 19:08 -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 Kene Meniru <Kene.Meniru@illom.org> - 2013-01-03 19:08 -0500

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

FromKene Meniru <Kene.Meniru@illom.org>
Date2013-01-03 19:08 -0500
SubjectRe: Can't seem to start on this
Message-ID<mailman.64.1357258156.2939.python-list@python.org>
Mitya Sirenef wrote:

> Ok but if the user creates two sites, how does he then manipulate them,
> if you are not binding instances in A? (e.g. you are not doing site1 =
> Site("New Site")).
> 
> If the user only ever needs one site, that's fine.
> 
>   -m
 
In case of situations where the user needs to manipulate an existing 
component like a side (wall) for a Space, this will be done using the name 
of the component to find it in the dictionary. So for example if user 
enters:

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.

-- 

Kene
::::::::::::::::::
KeMeniru@gmail.com

[toc] | [standalone]


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


csiph-web