MCPcopy Index your code
hub / github.com/ipython/ipython / _isexec_WIN

Method _isexec_WIN

IPython/core/magics/osm.py:78–82  ·  view source on GitHub ↗

Test for executable file on non POSIX system

(self, file)

Source from the content-addressed store, hash-verified

76
77
78 def _isexec_WIN(self, file):
79 """
80 Test for executable file on non POSIX system
81 """
82 return file.is_file() and self.execre.match(file.name) is not None
83
84 def isexec(self, file):
85 """

Callers 1

isexecMethod · 0.95

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected