[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] New User



On 11/12/06, Jonah <jfishel@xxxxxxx> wrote:

Could you send me a link for the tutor list? I Googled it but
couldn't find it.

Pygame-tutorials: http://pygame.org/wiki/tutorials

Python-tutorials:  http://wiki.python.org/moin/BeginnersGuide

Could someone please define these terms for me?:
Module
()
elif

Module: an extension that can be imported by Python. Pygame is a collection of modules.

(): A tuple or simply parenthesis (for expression-priority)

elif: "else if". Used like this:

if number == 42:
 print "Number is 42"
elif number == 19:
 print "Number is 19"
else:
 print "Number is something else other than 42 and 19"

Here's my understanding of it all: Python is the scripting language,
and pygame is a package of scripts defining terms and functions that
can be used to create games.

Correct.


-- - Rikard.