Greetings,

I'm converting 101 BASIC games from an old book (http://www.atariarchives.org/basicgames/) into Python scripts. After a dozen conversions, I've created a helper file for common functions (i.e., pick_card(), replay_game() and roll_dice()). The functions for card and dice games are obvious candidates for the helper file, but other functions that might be one offs that shouldn't be included.

Is there utility that will take the function names from the helper file and scan the other files to tally up how many times a particular function got called?

Or do I need to write a script?

Thanks,

Chris R.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to