Re: weird behaviour: pygame plays in shell but not in script

2012-04-02 Thread Mik
Oh thanks alex! that's kind! PS: It looks like a party indeed: plenty of interesting discussions :-) On Mar 30, 4:33 am, alex23 wrote: > On Mar 29, 10:41 pm, Mik wrote: > > > What a nice way to introduce myself to the group!!! :-) > > Hey, don't beat yourself up

weird behaviour: pygame plays in shell but not in script

2012-04-02 Thread Mik
great. It doesn't make sense to me, maybe someone has a clue? Thanks for any clue! Mik import pygame #done twice to get rid of a sound card error pygame.mixer.init() pygame.mixer.init() pygame.mixer.pre_init(44100, -16, 2, 2048) pygame.init() # called twice to make it so that it detects

Re: weird behaviour: pygame plays in shell but not in script

2012-04-02 Thread Mik
I can't believe I am so dumb! after sound.play() the script was terminating I didn't notice that 'play()' actually returns... What a nice way to introduce myself to the group!!! :-) sorry for bothering you guys :-) -- http://mail.python.org/mailman/listinfo/python-list