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


Groups > comp.lang.python > #36090

Re: Can't seem to start on this

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'component': 0.15; 'dictionary.': 0.16; 'fine.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:start': 0.16; 'x,y,z': 0.16; 'wrote:': 0.17; 'creates': 0.18; 'example': 0.23; 'allows': 0.25; 'header:User-Agent:1': 0.26; '(which': 0.26; 'values': 0.26; '(e.g.': 0.27; 'header:X-Complaints-To:1': 0.28; 'boundary': 0.29; 'dictionary': 0.29; 'finds': 0.29; 'class': 0.29; 'function': 0.30; 'space,': 0.32; 'instances': 0.33; 'received:comcast.net': 0.33; 'to:addr:python-list': 0.33; 'done': 0.34; 'skip:: 10': 0.35; 'doing': 0.35; 'received:org': 0.36; 'but': 0.36; 'does': 0.37; 'two': 0.37; 'subject:: ': 0.38; 'skip:l 20': 0.38; 'to:addr:python.org': 0.39; 'called': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'side': 0.61; 'ever': 0.63; 'email addr:gmail.com': 0.63; 'header:Reply-To:1': 0.68; 'reply-to:no real name:2**0': 0.72; 'subject:this': 0.84; 'moves': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Kene Meniru <Kene.Meniru@illom.org>
Subject Re: Can't seem to start on this
Followup-To gmane.comp.python.general
Date Thu, 03 Jan 2013 19:08:57 -0500
Organization illom.org
References <kc31l4$27v$1@ger.gmane.org> <50E50D08.201@lightbird.net> <kc3553$pn7$1@ger.gmane.org> <50E51BED.1030008@lightbird.net> <kc3uvi$7k1$1@ger.gmane.org> <50E5CA01.3090200@lightbird.net> <kc4m83$7lj$1@ger.gmane.org> <50E60C05.5060506@lightbird.net>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Gmane-NNTP-Posting-Host c-69-143-75-245.hsd1.md.comcast.net
User-Agent KNode/4.4.7
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To Kene.Meniru@illom.org
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.64.1357258156.2939.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357258156 news.xs4all.nl 6967 [2001:888:2000:d::a6]:40967
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36090

Followups directed to: gmane.comp.python.general

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Can't seem to start on this Kene Meniru <Kene.Meniru@illom.org> - 2013-01-03 19:08 -0500

csiph-web