I wonder if this could work. Perform some statistics on a lot of existing code divided into several types of categories. Be it games or utilities. Python or any other code for that matter. By scoring how frequent a module and it’s submodules are you get an overview of what is important for that type of program. Then if you as a learner want to make a program in such a category you can then start to read about the most used modules and submodules first.
Example statistics of submodules in pygame from 15 simple python games.
Even if my program is not very accurate I can see what parts of pygame to focus on for making a simple game.