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


Groups > comp.lang.python > #107690 > unrolled thread

Running PyGame on OS X

Started byreal-not-anti-spam-address@apple-juice.co.uk (D.M. Procida)
First post2016-04-26 22:33 +0100
Last post2016-04-26 15:42 -0600
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Running PyGame on OS X real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) - 2016-04-26 22:33 +0100
    Re: Running PyGame on OS X Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-26 15:42 -0600

#107690 — Running PyGame on OS X

Fromreal-not-anti-spam-address@apple-juice.co.uk (D.M. Procida)
Date2016-04-26 22:33 +0100
SubjectRunning PyGame on OS X
Message-ID<1mmc3vc.xx6qbm6rzpsgN%real-not-anti-spam-address@apple-juice.co.uk>
I have PyGame installed.

As soon as I run pygame.init() or pygame.display.init(), a PyGame icon
will pop up in the Dock, and then its application will simply stop
responding. Needless to say, I can't actually do anything with it.

What is this application, and what is likely the problem with it?

Thanks,

Daniele

[toc] | [next] | [standalone]


#107691

FromIan Kelly <ian.g.kelly@gmail.com>
Date2016-04-26 15:42 -0600
Message-ID<mailman.130.1461707007.32212.python-list@python.org>
In reply to#107690
On Tue, Apr 26, 2016 at 3:33 PM, D.M. Procida
<real-not-anti-spam-address@apple-juice.co.uk> wrote:
> I have PyGame installed.
>
> As soon as I run pygame.init() or pygame.display.init(), a PyGame icon
> will pop up in the Dock, and then its application will simply stop
> responding. Needless to say, I can't actually do anything with it.
>
> What is this application, and what is likely the problem with it?

That sounds like it's just the PyGame display window. Likely it's not
responding because you just called init() and didn't actually start
running an event loop to process events on the window. I'd suggest
working through a PyGame tutorial.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web