八、打印模块路径

import socket
print(socket)
#<module 'socket' from '/usr/lib/python2.7/socket.py'>