Python Forum
How to properly close db connection, best practice
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to properly close db connection, best practice
#3
You'll need the threading or multiprocessing modules. I'm just learning them myself for some Tkinter GUI apps. This is a good, pretty extensive intro to threading.
https://realpython.com/intro-to-python-threading/
"So, brave knights, if you do doubt your courage or your strength, come no further, for death awaits you all with nasty, big, pointy teeth!" - Tim the Enchanter
Reply


Messages In This Thread
RE: How to properly close db connection, best practice - by Marbelous - Jan-21-2020, 09:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how can I organise my code : best practice? pythonbum 0 209 May-24-2024, 03:17 PM
Last Post: pythonbum
  Serial connection connection issue Joni_Engr 15 8,648 Aug-30-2021, 04:46 PM
Last Post: deanhystad
  Threading best practice EvanS1 2 2,087 Apr-21-2020, 10:11 PM
Last Post: EvanS1
  Help with string practice Hermann_Fegelein 2 2,822 Aug-15-2018, 04:56 PM
Last Post: Hermann_Fegelein
  Best Practice For String Quotations ? Zork_3 9 50,436 Sep-01-2017, 07:16 AM
Last Post: wavic

Forum Jump:

User Panel Messages

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