I downloaded pygame successfully but now when I do:
import pygame
pygame.init()
size = [400, 400]
pygame.display.set_mode(size)
it gives errors:
Traceback (most recent call last):
File "<pyshell#11>", line 1, in <module> pygame.init AttributeError:
'module' object has no attribute 'init'
And nothing is working for me. Please help me use init
and display
.
I am using
- python 3.4.1 and
- pygame 1.9.2 on
- Windows 7 32bit and
I installed pygame on
c://python34/include/