Python Forum
Python project help (Password manger using mysql)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python project help (Password manger using mysql)
#2
Two directions I can see for you to go. One is to figure out what candidates there are for classes. Making a "password" class seems overkill for that piece of data. You could make a menu class that handles the menu display and all of the activities. Or, more ambitiously, you could make a context manager that allows you to use "with" on your database. That requires you to implement __enter__ and __exit__ functions that would handle all of the opening and closing of the database connection. What are you looking for?
Reply


Messages In This Thread
RE: Python project help (Password manger using mysql) - by jefsummers - Jul-31-2020, 06:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Password Saver Assignment sshellzr21 2 7,380 May-02-2020, 01:34 AM
Last Post: sshellzr21
  Password Saver Project jhenry 15 17,861 Oct-13-2017, 08:30 AM
Last Post: gruntfutuk
  [URGENT] Trying to create a simple password manager in python equanox314 5 12,746 Jul-28-2017, 08:04 AM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

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