Congratulations! You now have a good understanding of modules and packages and how they function in Python. You can now go ahead and use the structuring methods you have learned to build even larger applications.
Large frameworks written in Python, such as Django and Flask, use the same principles of modules and packages that you have learned here. For reference, check out the Flask project source code on GitHub to see how files are arranged in a real-life project. You will notice that the same concepts that you just learned about are in use.
As we said in the introduction, working with data in files is a fact of any developer's life. Python, as a general-purpose scripting language, comes with a lot of built-in tools to help you read, manipulate, and write to files very easily in your program. You should now have a good grasp of how to use these tools to not only manipulate text files but also to work with more complex data such as CSV files. In our final chapter activity, you had...