出处:https://stackoverflow.com/questions/380870/make-sure-only-a-single-instance-of-a-program-is-running
from tendo import singleton
me = singleton.SingleInstance() # will sys.exit(-1) if other instance is running
出处:https://stackoverflow.com/questions/380870/make-sure-only-a-single-instance-of-a-program-is-running
from tendo import singleton
me = singleton.SingleInstance() # will sys.exit(-1) if other instance is running