Further reading

Read more about JSON data structures. They are popular and are used everywhere. An alternative structure is XML.  Read about XML and JSON and when and why one should be preferred over the other.

The collections module of Python provides some very versatile and useful data structures such as namedtuple, deque, Counterdict, OrderedDict, defaultdict, chainMap, UserDict, UserList, and userString. These can be suitably used in a wide variety of use cases. More information can be found at: https://docs.python.org/3/library/collections.html.

We used external audio files and external images in our program. This means that they need to be bundled with the program if it has to be packaged and distributed. An alternative packaging of audio files and images can be done using what is called base-64 encoding.  The audio files and the images can be base-64 encoded in a text file and then read back and decoded by the program to be used as audio files or image files. Read about base-64 encoding and if you feel motivated enough, try to convert all audio files and images used in this program into base-64 encoding. More information on base-64 encoding can be found here: https://en.wikipedia.org/wiki/Base64.

The Python implementation of base-64 encoding can be found here: https://docs.python.org/3/library/base64.html.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.15.154