Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ executable
Function
executable
Lib/http/server.py:1038–1040 ·
view source on GitHub ↗
Test for executable file.
(path)
Source
from the content-addressed store, hash-verified
1036
1037
1038
def
executable(path):
1039
""
"Test for executable file."
""
1040
return
os.access(path, os.X_OK)
1041
1042
1043
class
CGIHTTPRequestHandler(SimpleHTTPRequestHandler):
Callers
1
is_executable
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected