Idea – Simple Statistics Of Python Code For Learners

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.

display…7
draw…1
event…4
font…3
image…3
key…11
mixer…3
rect…1
sprite….1
time…1
transform…3

Even if my program is not very accurate I can see what parts of pygame to focus on for making a simple game.

(Visited 31 times, 1 visits today)