Get Path to Installed Library

I have an installation that contains a library that I want to install on another system. However, I cannot identify where that library is. If I do a search on the name in the import statement nothing is found. Is there a way to display the path of an imported library? TIA.

You mean like so?

>>> import xml
>>> xml.__file__
'/usr/lib64/python3.6/xml/__init__.py'

Thanks for the reply. Yes, that is what I was looking for.