Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22585

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

References <7ef60ccc-c0bb-4aa8-a393-469883897058@k24g2000yqe.googlegroups.com> <cc1e2137-8519-4df8-af5f-6325d8a63022@w5g2000yqi.googlegroups.com>
Date 2012-04-03 21:17 +1000
Subject Re: weird behaviour: pygame plays in shell but not in script
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1266.1333451823.3037.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Mar 29, 2012 at 11:41 PM, Mik <mikprog@gmail.com> wrote:
>
> 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 :-)

You've just proven one of the great benefits of asking a question: you
suddenly discover the answer for yourself. It's arguable whether it's
primarily caused by the action of coalescing your question into text,
or some outworking of Murphy's Law, but both are involved.

Welcome to the party. There's some trolls over there *gestures to the
corner* and some smart guys over there *gestures to the other corner*
and a few snakes and comedians around *gestures to the random pythons
and Pythons and Pythons and pythons* and don't forget the lurkers
lurking around. Enjoy yourself, learn something, educate someone!

Chris Angelico

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: weird behaviour: pygame plays in shell but not in script Mik <mikprog@gmail.com> - 2012-03-29 05:41 -0700
  Re: weird behaviour: pygame plays in shell but not in script Mik <mikprog@gmail.com> - 2012-03-30 04:16 -0700
    Re: weird behaviour: pygame plays in shell but not in script Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-04-03 14:47 +0200
  Re: weird behaviour: pygame plays in shell but not in script alex23 <wuwei23@gmail.com> - 2012-03-29 20:33 -0700
    Re: weird behaviour: pygame plays in shell but not in script rusi <rustompmody@gmail.com> - 2012-03-30 05:46 -0700
  Re: weird behaviour: pygame plays in shell but not in script Chris Angelico <rosuav@gmail.com> - 2012-04-03 21:17 +1000

csiph-web