New to Python and all issues database associated. Questioning once I ought to think about using a database and why?
I’ve what is actually a listing of objects that’s round 30000 traces lengthy. I am creating an internet app which might want to search this record for the right object relying on consumer enter.
For extra context, the record incorporates all legitimate and distinctive musical chord names, every with the attributes that make that chord what it’s. Eg. Notes, Interval notation. It’s the title of the chord the consumer will sort in, and it’s the chord attributes they’ll get again.
I want to know the quickest manner of pulling an object from this record of objects by looking out the objects title, and the way I can implement it in python with minimal exterior libraries.
At present I am simply parsing by means of a .txt file and changing the string line I discover again to the right object in python and returning that.
Any assistance is appreciated!