(Shortest import: from brian2genn.device import find_executable)
from brian2genn.device import find_executable)
brian2genn.device.
find_executable
Tries to find ‘executable’ in the path
Modified version of distutils.spawn.find_executable as this has stupid rules for extensions on Windows. Returns the complete filename or None if not found.