Python Forum
Python3x running only with one instance (how can I prevent too many running instance)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python3x running only with one instance (how can I prevent too many running instance)
#1
i tried to solve this problem with socket module but I couldn't. do you know useful efficent solution to solve this problem ? thanks.

example: when users reopened my program, it will give "program has already running please close other instance" error and will be closed.
Reply


Messages In This Thread
Python3x running only with one instance (how can I prevent too many running instance) - by harun2525 - Jul-19-2017, 06:38 PM
Python, Single Instance Application - by harun2525 - Jul-20-2017, 04:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Copying methods to effect the new owner instead of the old instance Daniel285 1 60 1 hour ago
Last Post: deanhystad
  No Internet connection when running a Python script basil_555 8 857 Mar-11-2024, 11:02 AM
Last Post: snippsat
Question Running Python script through Task Scheduler? Winfried 8 843 Mar-10-2024, 07:24 PM
Last Post: Winfried
  problem in running a code akbarza 7 809 Feb-14-2024, 02:57 PM
Last Post: snippsat
  super() and order of running method in class inheritance akbarza 7 914 Feb-04-2024, 09:35 AM
Last Post: Gribouillis
  writing and running code in vscode without saving it akbarza 1 477 Jan-11-2024, 02:59 PM
Last Post: deanhystad
  Help Running Python Script in Mac OS emojistickers 0 411 Nov-20-2023, 01:58 PM
Last Post: emojistickers
  the order of running code in a decorator function akbarza 2 611 Nov-10-2023, 08:09 AM
Last Post: akbarza
  error "cannot identify image file" part way through running hatflyer 0 793 Nov-02-2023, 11:45 PM
Last Post: hatflyer
  Trying to make a board with turtle, nothing happens when running script Quascia 3 789 Nov-01-2023, 03:11 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020