Re: [pygame] [PYGAME] Noob Help.

2007-04-17 Thread spotter .
Eric3, IDLE, Emacs are not compilers, they are editors used to edit the python script. They also autoformat tabs/spaces so you dont have to worry about it. -spot On 4/13/07, Lamonte(Scheols/Demonic) <[EMAIL PROTECTED]> wrote: I already go a compiler now. On 4/13/07, Lenard Lindstrom <[EMAIL

Re: [pygame] [PYGAME] Noob Help.

2007-04-13 Thread Lamonte(Scheols/Demonic)
I already go a compiler now. On 4/13/07, Lenard Lindstrom <[EMAIL PROTECTED]> wrote: Samuel Mankins wrote: > Personally, I recommend Emacs. I'm pretty sure it has a windows port Yes it does, XEmacs in particular. > (I know it has a Mac one) and it "understands" python code, and so it > will in

Re: [pygame] [PYGAME] Noob Help.

2007-04-13 Thread Lenard Lindstrom
Samuel Mankins wrote: Personally, I recommend Emacs. I'm pretty sure it has a windows port Yes it does, XEmacs in particular. (I know it has a Mac one) and it "understands" python code, and so it will indent a little farther the line after something ending in a colon. Very useful. And when yo

Re: [pygame] [PYGAME] Noob Help.

2007-04-13 Thread Samuel Mankins
Charles Christie wrote: I recommend Eric3. I think it has a Windows port, anyway. I use it every day, and I find it much better than drpython. On 4/13/07, *Kris Schnee* < [EMAIL PROTECTED] > wrote: [EMAIL PROTECTED] wrote: > Alrigh

Re: [pygame] [PYGAME] Noob Help.

2007-04-13 Thread Charles Christie
I recommend Eric3. I think it has a Windows port, anyway. I use it every day, and I find it much better than drpython. On 4/13/07, Kris Schnee <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > Alright so when I run the "game.py" the console says error syntax then I > can't read the rest bec

Re: [pygame] [PYGAME] Noob Help.

2007-04-13 Thread python
> [EMAIL PROTECTED] wrote: >> Alright so when I run the "game.py" the console says error syntax then I >> can't read the rest because the console window closes automatically. I >> have the slightest idea on whats wrong. > > I strongly recommend that you use an editor. Depending on exactly how > yo

Re: [pygame] [PYGAME] Noob Help.

2007-04-13 Thread Kris Schnee
[EMAIL PROTECTED] wrote: Alright so when I run the "game.py" the console says error syntax then I can't read the rest because the console window closes automatically. I have the slightest idea on whats wrong. I strongly recommend that you use an editor. Depending on exactly how you installed

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread python
> On Fri, 13 Apr 2007, [EMAIL PROTECTED] wrote: >> Alright I got an error saying: >> >> Syntax Error Line 6: >> pygame.init() >> >> >> Script: >> >> import sys >> import pygame >> from pygame.locals import * >> >> >> pygame.init() > > Indeed this is a syntax error - the code is indented unnece

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread Richard Jones
On Fri, 13 Apr 2007, [EMAIL PROTECTED] wrote: > Alright I got an error saying: > > Syntax Error Line 6: > pygame.init() > > > Script: > > import sys > import pygame > from pygame.locals import * > > > pygame.init() Indeed this is a syntax error - the code is indented unnecessarily and inval

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread python
>> On Fri, 13 Apr 2007, [EMAIL PROTECTED] wrote: >>> I think I know the problem, its the text pad I'm using. I have >>> NotePad++ >>> anyone recommend any besides Dr Python (atm I can't use it+ its a >>> little >>> slow on this comp). >> >> http://wiki.python.org/moin/PythonEditors >> >> (Google s

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread Ryan Charpentier
Python comes with a fair IDE called Idle. It is pretty good if you just want to run some python code quick, but i'm not a big fan of the debugger.

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread python
> On Fri, 13 Apr 2007, [EMAIL PROTECTED] wrote: >> I think I know the problem, its the text pad I'm using. I have >> NotePad++ >> anyone recommend any besides Dr Python (atm I can't use it+ its a little >> slow on this comp). > > http://wiki.python.org/moin/PythonEditors > > (Google search "python

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread Richard Jones
On Fri, 13 Apr 2007, [EMAIL PROTECTED] wrote: > I think I know the problem, its the text pad I'm using. I have NotePad++ > anyone recommend any besides Dr Python (atm I can't use it+ its a little > slow on this comp). http://wiki.python.org/moin/PythonEditors (Google search "python editor window

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread python
> On Fri, 13 Apr 2007, [EMAIL PROTECTED] wrote: >> It says invalid syntax then a carrt(^) points up to "try:" > > If your source is indented in the same manner as the mail you're posting > then > you've got syntax errors due to the indentation of your source. > > Have you run through the python tut

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread Richard Jones
On Fri, 13 Apr 2007, [EMAIL PROTECTED] wrote: > It says invalid syntax then a carrt(^) points up to "try:" If your source is indented in the same manner as the mail you're posting then you've got syntax errors due to the indentation of your source. Have you run through the python tutorial? If no

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread python
> On Thu, Apr 12, 2007 at 11:05:34PM -0400, [EMAIL PROTECTED] wrote: >> >> >> >> But it doesn't work. >> >> >> > >> > Never say these words as your only explanation when you post code. >> > >> > Say "But when I try running it, I get an error message that says >> > blahblahblah and I don't understan

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread James Paige
On Thu, Apr 12, 2007 at 11:05:34PM -0400, [EMAIL PROTECTED] wrote: > >> > >> But it doesn't work. > >> > > > > Never say these words as your only explanation when you post code. > > > > Say "But when I try running it, I get an error message that says > > blahblahblah and I don't understand what tha

RE: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread paris
Hi, I can't run the code at the moment - on a machine w/o pygame but... launch a cmd window and run the program from there. e.g. start->run->cmd that way the window will stay open and you can see the error. Best, p > Original Message > Subject: Re: [pyga

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread python
>> >> But it doesn't work. >> > > Never say these words as your only explanation when you post code. > > Say "But when I try running it, I get an error message that says > blahblahblah and I don't understand what that means" > > or "But when I try to run it (detailed description) happens" > > or "b

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread python
> On Fri, 13 Apr 2007, [EMAIL PROTECTED] wrote: >> Alright how do you open a blank window. I tried the following: >> import pygame as D_ENGINE >> >> size = width, height = 320, 240 >> speed = [2, 2] >> black = 0, 0, 0 >> >> screen = D_ENGINE.display.set_mode(size) >> >> whi

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread Richard Jones
On Fri, 13 Apr 2007, [EMAIL PROTECTED] wrote: > Alright how do you open a blank window. I tried the following: > import pygame as D_ENGINE > > size = width, height = 320, 240 > speed = [2, 2] > black = 0, 0, 0 > > screen = D_ENGINE.display.set_mode(size) > > while 1: >

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread Bob the Hamster
> > But it doesn't work. > Never say these words as your only explanation when you post code. Say "But when I try running it, I get an error message that says blahblahblah and I don't understand what that means" or "But when I try to run it (detailed description) happens" or "but when I try

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread python
> On Thu, Apr 12, 2007 at 08:38:28PM -0500, Lamonte(Scheols/Demonic) wrote: >>Ok I'm just trying to get un-noob with pygame and python it self. >> >>Alright I was reading on a tutorial from the pygame site located >> here: >>http://www.pygame.org/docs/tut/intro/intro.html >>So I'm t

Re: [pygame] [PYGAME] Noob Help.

2007-04-12 Thread James Paige
On Thu, Apr 12, 2007 at 08:38:28PM -0500, Lamonte(Scheols/Demonic) wrote: >Ok I'm just trying to get un-noob with pygame and python it self. > >Alright I was reading on a tutorial from the pygame site located here: >http://www.pygame.org/docs/tut/intro/intro.html >So I'm trying to

[pygame] [PYGAME] Noob Help.

2007-04-12 Thread Lamonte(Scheols/Demonic)
Ok I'm just trying to get un-noob with pygame and python it self. Alright I was reading on a tutorial from the pygame site located here: http://www.pygame.org/docs/tut/intro/intro.html So I'm trying to find out whats up with this: 14for event in pygame.event.get(): 15if event