def getabsfile(object, _filename=None):
 if (_filename is None):
  _filename = (getsourcefile(object) or getfile(object))
 return os.path.normcase(os.path.abspath(_filename))

def getabsfile ( object , _filename = None ) : if ( _filename is None ) : _filename = ( getsourcefile ( object ) or getfile ( object ) ) return os . path . normcase ( os . path . abspath ( _filename ) )
return an absolute path to the source or compiled file for an object .