#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Lance Simms, Stanford University '09
#PURPOSE:
#  To print out the full path and other information for a module
#
#INPUTS:
#  Module name: str
#    The name of the module (san the '.py')
#CALLING SEQUENCE:
#  run FindModulePath.py [ModuleName]
# 
#EXAMPLES
#  run FindModulePath.py 'ReadCol'
#  run FindModulePath.py 'iraffunctions'

import sys
import site
from imp import *

#Get the filename and options from command line
ModuleName = sys.argv[1]

PathInfo   = find_module(ModuleName)

print PathInfo

