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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.072
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'subject:script': 0.09; 'subject:not': 0.11; ':-)': 0.13; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'lurking': 0.16; 'snakes': 0.16; 'thu,': 0.17; 'wrote:': 0.19; 'suddenly': 0.21; 'header:In-Reply- To:1': 0.22; 'random': 0.23; 'message-id:@mail.gmail.com': 0.24; 'primarily': 0.27; 'script': 0.27; 'question': 0.28; 'question:': 0.28; 'smart': 0.28; 'text,': 0.28; 'received:209.85.210.174': 0.30; 'received:mail-iy0-f174.google.com': 0.30; 'chris': 0.31; "can't": 0.32; 'received:209.85': 0.32; 'received:google.com': 0.32; 'received:209.85.210': 0.33; 'asking': 0.34; 'pm,': 0.34; 'law,': 0.34; 'to:addr:python-list': 0.35; 'received:209': 0.35; 'there': 0.36; 'guys': 0.36; 'but': 0.37; 'subject:: ': 0.37; "didn't": 0.38; 'notice': 0.38; 'some': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'caused': 0.60; '2012': 0.62; 'great': 0.63; 'enjoy': 0.64; 'yourself,': 0.71; 'discover': 0.77; 'introduce': 0.81; 'involved.': 0.84; '29,': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iF/e+1FcFqvpBOuaEI6AKk4C+YAARit3Yfn5ew/4+tY=; b=AsTJ5ay2FcNx6aeNOF2szTfqdtUKwGxRNtqWGjLsZrji2SAXf7cp8xncviHruSoXFW 6BTO4HFX2wk0PQxTH8dGhz5wDB+roLZcZauXEw6TZOCMyiMWZ469u4jo7dVNza/XIR9d FtPZwcim6jpcJJu8qa1krNct9Cj2slDcxoN6iNFPGnnTK6/7diSiJ2wDGHoK60+QaJU/ JePc+yVk7tN17iRkkohYvLnkIcqz0baRLNxCCLEsxMk2PM+2WGxZj8o1e6pneBH6YO/i UW63hL/mqWBGcvBVjWXdgt8gtEQcKR3lEXf8CFe39QPHfeI/nZDZ2SQcopSjRm+5zqie FNjw==
MIME-Version 1.0
In-Reply-To <cc1e2137-8519-4df8-af5f-6325d8a63022@w5g2000yqi.googlegroups.com>
References <7ef60ccc-c0bb-4aa8-a393-469883897058@k24g2000yqe.googlegroups.com> <cc1e2137-8519-4df8-af5f-6325d8a63022@w5g2000yqi.googlegroups.com>
Date Tue, 3 Apr 2012 21:17:00 +1000
Subject Re: weird behaviour: pygame plays in shell but not in script
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1266.1333451823.3037.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1333451823 news.xs4all.nl 6852 [2001:888:2000:d::a6]:39062
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:22585

Show key headers only | 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