Well, I am a newb when it comes to Python, but not programming in general. I am an experienced PHP programmer, but that's off-topic. Anyway, I downloaded Python v2.3 and Pygame v1.6 for Python 2.3 and installed both; Python to Program Files\Python23 and Pygame to Program Files\Python23\Lib\site-packages. Now, to my bleak understanding, to use a module in Python, you use Import. So, I do this:
Now, when I try to do anythin with that module I get errors:
>>>pygame.init()
Traceback (most recent call last):
File "<pyshell#6>", line 1, in -toplevel-
pygame.init()
AttributeError: 'module' object has no attribute 'init'
I have read all of the intro articles at pygame.org on how to install and get it working, and they all say to just use import. I know it's importing pygame because when I print pygame it tells me the directory of the installed module.
>>>print pygame
<module 'pygame' from 'C:\Program Files\Python23\lib\pygame.pyc'>
I would really appreciate any help at all.