[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Quit pygame
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Quit pygame
- From: Massimo Di Stefano <massimodisasha@xxxxxxxx>
- Date: Thu, 30 Sep 2010 12:05:26 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 30 Sep 2010 06:06:13 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.it; s=s1024; t=1285841166; bh=p5jNQ9jwK9Gi9gCmddJY+1gzvymNbMZJo1pS0fkU3GI=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Content-Type:Content-Transfer-Encoding:Subject:Date:Message-Id:To:Mime-Version:X-Mailer; b=2BG7pyZx1vxVD+M0uSVnOEpDBD45bU7ufCh7eiz4ed767tbq2r58xehvZJidPQ91ISuEmd4NQEIK6QklZkGj3NlZ9zk0Re9iZ4gKeBRwKV80QfU4oQpBDykkOZ4+6IVdSV9oSCxC5rox/j39B4YquJ0/T3ClvGbyQ/HVR13fZ5M=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello All,
i'm having a problem with pygame, ... i don't know ho to quit a pygame session :-(
i'm on osx 10.6.4
from a standard python shell, i'm able to start a pygame session, running :
- import pygame ; from pygame.locals import * ; pygame.init()
MacBook-Pro-15-di-sasha:~ sasha$ python
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
>>> from pygame.locals import *
>>> pygame.init()
Leopard libedit detected.
(6, 0)
>>>
the previouse instructions opens a nice pygame icon on my dock
the problem is that i don't know how to "quit" it.
Tyring to stop the pygame session using :
pygame.quit()
i have no actions ... pygame is still running and i'm not able to stop it.
To quit the pygame session i have to quit the python session itself ... or foce-quit the app (that always will close my python session)
have you any hints on how to quit a pygame session without the needs of exit from python ?
thanks !
beste regards,
Massimo.