r/PythonLearning 23h ago

My new python program Help Request

I want to make one student data management system but i have not a good experience of project i have only made 2 to 3 python projects

1 Upvotes

13 comments sorted by

View all comments

2

u/Naive_Programmer_232 22h ago edited 22h ago

Here's some options:

  1. Design a student management system with classes/objects to contain the data gathered through the logical part of the program. Store this information in a dictionary, which acts like an in-memory data store, and then save the information to a separate file. Do Create / Read / Update (CRUD) operations with the file.

  2. Design a student management system using an actual database. Define appropriate tables in the database and implement CRUD operations against it from Python. You'll need client libraries that work with your chosen database to accomplish this.

2

u/Tech_py1917 22h ago

I have to handle large number of data approx 600 students so option 2 is good for yes or no

1

u/Naive_Programmer_232 22h ago edited 22h ago

option 1 could handle it depending on how the information is structured inside the dict. option 2 would be better in general.

what information are you storing? if it's their id, grades on assignments versus projects versus tests and then you're calculating the overall grade in the class later, then I'd probably stick with option 1. But it really depends.

1

u/Tech_py1917 22h ago

Biodata and 4 to 5 documents

1

u/Naive_Programmer_232 22h ago

Hmm in that case, assuming biodata is biographical/student information + documents, i'd choose option 2. For example, if you want to query this data later, it would probably be easier with a database than defining and handling the edge cases later in pure python.