I compiled this code use pygame2exe script, and output *.exe file
crashed at started. Script without compile work normally.
How to fix it?
import pygame
pygame.init()
s = pygame.Surface((10, 10), 0, 24)
print s.get_buffer()
Version:
Python 2.6.2
pygame1.8.1release
PS. Surface.get_buffer() need f
thx, it's work!
> It's not including the bufferproxy module. Try adding "import
> pygame.bufferproxy" after "import pygame". Hopefully this is fixed in
> Pygame 1.9.
>
> Lenard
>
> [email protected] wrote:
>> I compiled this code u