Find out where a class is used throughout a program.

Irmen de Jong irmen.NOSPAM at xs4all.nl
Wed Sep 4 16:40:46 EDT 2013


On 4-9-2013 22:08, dieter wrote:
> Azureaus <lo0446 at my.bristol.ac.uk> writes:
>> ...
>> is there a way of finding out / visualising where a particular class is called/used throughout a program?
> 
> I do not know a simple and reliable way.

Not 100% reliable, but arguably easier than reverting to simple text search tools, is
using a Python IDE such as PyCharm. It does a remarkable job most of the time to show
you the usages and dependencies of various items in your program. It does this by
actually parsing the source and not simply performing a text based search.

Irmen




More information about the Python-list mailing list