Check for Python on the current system and return the value
Extracted from node-gyp.
checkPython(function (err, python, version) {
console.log('Python: %s\nPython version: %s', python, version)
})
Should work on Windows but there are many assumptions about install location and since this is not guaranteed you may have trouble.
goingnative is Copyright (c) 2014 Rod Vagg @rvagg and contributors licensed under the MIT License. All rights not explicitly granted in the MIT License are reserved. See the included LICENSE.md file for more details.