Well, here I am again. My unluck with python never seems to end... I am following the book, 'Python Programming for the Absolute Beginner' and I managed to use its '.bat' file thanks to you community. Turns out instead of:
setup.py
pause
the guy should have wrote:
python setup.py
pause
facepalm
I clicked on the .bat file and it did some code then asked to press enter to quit and such. I went on to python to try to use this, typing in:
from livewires import games, colors
which brings up this nasty error when ran in IDLE:
Traceback (most recent call last):
File "C:/Python31/TESTERLY TEST", line 1, in <module>
from livewires import games
File "C:\Python31\lib\site-packages\livewires\games.py", line 57, in <module>
import pygame, pygame.image, pygame.mixer, pygame.font, pygame.transform
File "C:\Python31\lib\site-packages\pygame\__init__.py", line 95, in <module>
from pygame.base import *
ImportError: DLL load failed: %1 is not a valid Win32 application.
I understand that these programs should not be ran in IDLE, but when I run it normally it just flicks away really quick cause the error.
Why does this happen? Please note that the fact that i spelled it 'color' is not the problem, as the guy seems to have edited to be american spelling. I'm British myself, so my first instinct is to write 'colour' but I tried both.
from livewires import games
seems to bring up a similar error.
Many thanks in advance.