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


Groups > comp.lang.python > #36136

Re: problem with exam task for college

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.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@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.039
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'ascii': 0.07; 'python': 0.09; 'english,': 0.09; 'sat,': 0.15; '(more': 0.16; 'aggressively': 0.16; 'appreciated,': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'guessing': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'rotation': 0.16; 'underscores': 0.16; 'vpython': 0.16; 'wrote:': 0.17; 'everyone,': 0.17; 'instance': 0.17; 'variables': 0.17; 'jan': 0.18; 'translate': 0.20; 'changes': 0.20; 'trying': 0.21; 'names.': 0.22; 'subject:problem': 0.22; 'tells': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'guess': 0.27; 'separate': 0.27; 'change,': 0.27; "doesn't": 0.28; 'lines': 0.28; 'chris': 0.28; 'fine': 0.28; 'trouble': 0.28; 'received:192.168.1.3': 0.29; 'words': 0.29; 'class': 0.29; "i'm": 0.29; 'usually': 0.30; 'figure': 0.30; 'code': 0.31; 'german': 0.32; 'getting': 0.33; 'says': 0.33; 'safely': 0.33; 'to:addr :python-list': 0.33; 'code:': 0.33; 'along': 0.35; 'direction': 0.35; 'except': 0.36; 'but': 0.36; 'visual': 0.36; 'method': 0.36; "i'll": 0.36; 'subject:with': 0.36; 'subject:: ': 0.38; 'mean': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'google': 0.39; 'where': 0.40; 'skip:" 10': 0.40; 'received:192.168': 0.40; 'help': 0.40; 'skip:u 10': 0.60; 'land': 0.62; 'between': 0.63; 'more': 0.63; 'here': 0.65; 'fuel': 0.65; 'stuck': 0.65; 'due': 0.66; 'header:Reply-To:1': 0.68; 'press': 0.71; 'obvious': 0.71; 'reply-to:no real name:2**0': 0.72; '2013': 0.84; 'coming,': 0.84; 'game,': 0.84; 'reply-to:addr:python.org': 0.84; 'ship.': 0.84; 'drops': 0.91; 'exam': 0.91; 'mean.': 0.91
X-CM-Score 0.00
X-CNFS-Analysis v=2.0 cv=XeZXOvF5 c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=O2Kvzccb_dQA:10 a=59_15Tz8dA8A:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=hWm1KHgoRnQA:10 a=69EAbJreAAAA:8 a=7ZzGCsVAja0HlKKtNAoA:9 a=wPNLvfGTeEIA:10 a=EfJqPEOeqlMA:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117
X-AUTH mrabarnett:2500
Date Fri, 04 Jan 2013 19:17:30 +0000
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version 1.0
To python-list@python.org
Subject Re: problem with exam task for college
References <6f3c7fdf-7439-43b1-b3a2-da9da019b1ec@googlegroups.com> <CAPTjJmqGoeb6M3kC8CJ=Vz5c5EKFfJZwfP72j9qKDmoBhOzEtQ@mail.gmail.com>
In-Reply-To <CAPTjJmqGoeb6M3kC8CJ=Vz5c5EKFfJZwfP72j9qKDmoBhOzEtQ@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.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.98.1357327055.2939.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357327056 news.xs4all.nl 6926 [2001:888:2000:d::a6]:49710
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36136

Show key headers only | View raw


On 2013-01-04 18:59, Chris Angelico wrote:
> On Sat, Jan 5, 2013 at 5:23 AM,  <jeltedeproft@hotmail.com> wrote:
>> hy everyone, for my exam this year i had to write a computer game on vpython (visualpython).we had to make a lunar lander game where the ship drops by gravity and is able to manouver to safely land on the moon.<br>right now i am completely stuck on trying to make the visual of the ship rotate.<br>i'm new to this forum, i guess i'll just paste my code here. Everything works fine on the game, except the rotation of the ship. however the when you press "up" the after rotating the velocity actually changes direction , but the visual doesn't. i'm getting kinda nervous because due date is coming, any help is appreciated, here is the code:
>
> Ha, I remember playing a game along those lines that was drawn in pure
> ASCII text... the visuals change, the concept doesn't :)
>
>>         self.brandstofmeter = brandstofmeter()
>>         self.ruimteschip = ruimteschip()
>
> I'm having trouble understanding these names, and am guessing they're
> either aggressively abbreviated or not English, but it's hard to tell
> which. It's conventional in Python code to capitalize separate words
> in class names, and to either capitalize or use underscores (more
> usually the latter) between words in instance variables and method
> names. Google tells me that brandstofmeter might mean "Babylon 9" and
> ruimteschip is German for "spaceship", but that would be more obvious
> if I were not trying to figure out what "brands-t-of-meter" might
> mean.
>
[snip]
Google Translate says it's Dutch:

ruimteschip -> spaceship
brandstofmeter -> fuel gauge

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


Thread

problem with exam task for college jeltedeproft@hotmail.com - 2013-01-04 10:23 -0800
  Re: problem with exam task for college Chris Angelico <rosuav@gmail.com> - 2013-01-05 05:59 +1100
  Re: problem with exam task for college Chris Angelico <rosuav@gmail.com> - 2013-01-05 06:00 +1100
  Re: problem with exam task for college MRAB <python@mrabarnett.plus.com> - 2013-01-04 19:17 +0000
  Re: problem with exam task for college Joshua Landau <joshua.landau.ws@gmail.com> - 2013-01-04 19:18 +0000
  Re: problem with exam task for college Chris Angelico <rosuav@gmail.com> - 2013-01-05 06:30 +1100
    Re: problem with exam task for college jeltedeproft@hotmail.com - 2013-01-04 12:01 -0800
      Re: problem with exam task for college Chris Angelico <rosuav@gmail.com> - 2013-01-05 07:36 +1100
      Re: problem with exam task for college Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-05 16:09 -0500
    Re: problem with exam task for college jeltedeproft@hotmail.com - 2013-01-04 12:01 -0800
  Re: problem with exam task for college Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-04 17:11 -0500
  Re: problem with exam task for college jeltedeproft@hotmail.com - 2013-01-05 04:24 -0800
    Re: problem with exam task for college Chris Angelico <rosuav@gmail.com> - 2013-01-05 23:39 +1100
  Re: problem with exam task for college jeltedeproft@hotmail.com - 2013-01-05 05:14 -0800
    Re: problem with exam task for college Chris Angelico <rosuav@gmail.com> - 2013-01-06 00:32 +1100
  Re: problem with exam task for college jeltedeproft@hotmail.com - 2013-01-07 08:22 -0800
    Re: problem with exam task for college Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2013-01-07 18:40 +0100
    Re: problem with exam task for college Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-07 15:36 -0500
  Re: problem with exam task for college jeltedeproft_8@hotmail.com - 2013-01-13 04:29 -0800
  Re: problem with exam task for college jeltedeproft@hotmail.com - 2013-01-13 04:48 -0800
  Re: problem with exam task for college jeltedeproft@hotmail.com - 2013-01-13 05:57 -0800
    Re: problem with exam task for college Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-01-13 17:28 +0000
  Re: problem with exam task for college stefaang@gmail.com - 2013-01-14 04:57 -0800
  Re: problem with exam task for college jeltedeproft@hotmail.com - 2013-01-14 08:01 -0800
    Re: problem with exam task for college Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-14 13:54 -0500

csiph-web