On 6/13/2015 12:31 PM, Chris Angelico wrote:
Depending on your requirements, it could be anywhere from easy to
hard. Good luck:)

I don't have  grep on my Windows machine. Writing a script might be easier.

Each file has a import statement for the helper file:

    from bg_helper import replay_game, roll_dice

I just need to grab the function names from the helper file, walk the directory, find the import line from each file, and parse each line for the function names to build the tally.

Thanks,

Chris R.

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

Reply via email to