It seems there is a "pygame way" to allow a pygame script to be runned once. i believe that i'd seen that one day. but i'm not able to find it again... i'm on a linux box ... i would like to have : - when i first launch my script : it start - when i launch the script again, it give back the focus to the last instance, and close it i'm pretty sure that i've read it somewhere ...