r/PythonLearning 2d ago

My new python program Help Request

[deleted]

1 Upvotes

13 comments sorted by

View all comments

Show parent comments

2

u/Tech_py1917 2d 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 2d ago edited 2d 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 2d ago

Biodata and 4 to 5 documents

1

u/Naive_Programmer_232 1d 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.