python modules

Ever wonder where python goes to get it's modules... ?

In this exammple I have a test class called Message

import sys
from Message import Message
for idx, path in enumerate(sys.path, 1):
    print(f'{idx} - {path}')
print(f'\nrequests module location - {Message.__file__}')

When I run this code I get the following output

/Users/timothyhseed/pe36sat/bin/python3 /Users/timothyhseed/PycharmProjects/Multi_Class_Jenkins/tim_main.py
1 - /Users/timothyhseed/PycharmProjects/Multi_Class_Jenkins
2 - /Users/timothyhseed/PycharmProjects/Multi_Class_Jenkins
3 - /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
4 - /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6
5 - /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
6 - /Users/timothyhseed/pe36sat/lib/python3.6/site-packages
7 - /Users/timothyhseed/pe36sat/lib/python3.6/site-packages/multi_cast_dev-0.0.1-py3.6.egg
8 - /Users/timothyhseed/pe36sat/lib/python3.6/site-packages/SolarPlot-0.0.1-py3.6.egg
9 - /Users/timothyhseed/pe36sat/lib/python3.6/site-packages/SolarPlot_build-0.0.2-py3.6.egg
10 - /Users/timothyhseed/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/182.2574.7/PyCharm 2018.2 EAP.app/Contents/helpers/pycharm_matplotlib_backend

requests module location - /Users/timothyhseed/PycharmProjects/Multi_Class_Jenkins/Message/Message/__init__.py