Message336079
Windows has the GetBinaryTypeW function, this one is used by pywin32, maybe I could develop a wrapper in os, like os.is_executable(path)
for Unix-like, os.is_executable(path) could use os.access(path, os.X_OK)
for Windows, the function would use GetBinaryTypeW.
my 2 cents. |
|
Date |
User |
Action |
Args |
2019-02-20 12:34:18 | matrixise | set | recipients:
+ matrixise, paul.moore, vstinner, tim.golden, zach.ware, eryksun, steve.dower, mdk |
2019-02-20 12:34:18 | matrixise | set | messageid: <1550666058.18.0.339691148767.issue36021@roundup.psfhosted.org> |
2019-02-20 12:34:18 | matrixise | link | issue36021 messages |
2019-02-20 12:34:18 | matrixise | create | |
|