Project Data Structure – Dictionary?

  • Stuart

    Hi all,

    A pupil of mine is working on a software project that integrates with a database. He wants to use the “dictionary” data structure in Python.

    Is this allowed?

    The documentation says “Object-oriented programming with an array of objects” or “Procedural programming with a 2D array or an array of records”.

    Also, when the the procedural programming sentence says “an array of records” is it meaning “2D array of records”?


    Mark Hay

    Hi Stuart, I would say it is allowed as a dictionary(associative array) is one way of Python simulating a record. Would assume he is reading the each result from queries into a record and having an array of these.

    I personally use dataclasses but is the same operations.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.