Hi, On Tue, Feb 19, 2019 at 7:26 AM Stephane Wirtel <steph...@wirtel.be> wrote: > > Hi all, > > on Linux/Unix/BSD, we can detect if a file is an executable with > os.access(path, os.X_OK) but this is not the case on Windows. > > Do you have an idea?
Check file extension? Thank you. > > Have a nice day, > > Stéphane > > -- > Stéphane Wirtel - https://wirtel.be - @matrixise > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list