MCPcopy Create free account
hub / github.com/ipython/ipython / isexec

Method isexec

IPython/core/magics/osm.py:86–93  ·  view source on GitHub ↗

Test for executable file on non POSIX system

(self, file)

Source from the content-addressed store, hash-verified

84
85 @skip_doctest
86 def isexec(self, file):
87 """
88 Test for executable file on non POSIX system
89 """
90 if self.is_posix:
91 return self._isexec_POSIX(file)
92 else:
93 return self._isexec_WIN(file)
94
95
96 @skip_doctest

Callers 1

rehashxMethod · 0.95

Calls 2

_isexec_POSIXMethod · 0.95
_isexec_WINMethod · 0.95

Tested by

no test coverage detected