Allowing only one instance of a script?

Ali ali.jan at gmail.com
Thu Jun 23 02:49:21 EDT 2005


Hi,

I have a script which I double-click to run. If i double-click it
again, it will launch another instance of the script.

Is there a way to allow only one instance of a script, so that if
another instance of the script is launched, it will just return with an
error.

Thanks

Regards,
Ali




More information about the Python-list mailing list