def get_module_source_file(module_name):
 module_name.split
 source_file = __import__(module_name, fromlist=['']).__file__
 if source_file.endswith('.pyc'):
  return source_file[0:(-1)]
 return source_file

def get_module_source_file ( module_name ) : module_name . split source_file = __import__ ( module_name , fromlist = [ '' ] ) . __file__ if source_file . endswith ( '.pyc' ) : return source_file [ 0 : ( - 1 ) ] return source_file
URL URL .