[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Surface.get_buffer() & pygame2exe



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 for
http://www.pygame.org/wiki/ShadowEffects?parent=CookBook. Maybe exists
other module for make shadow which don't use this method?