Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am brendandburns on github.
  • I am brendandburns (https://keybase.io/brendandburns) on keybase.
  • I have a public key whose fingerprint is F07E 3AB5 79BB 6B9A 13BA 065F 02CE A719 15AC 6A69

To claim this, I am signing this object:

path = os.Getenv('PATH')
if platform.system() == 'Windows':
parts = path.split(';')
else:
parts = path.split(':')
for part in parts:
path = os.path.join(part, bin)
if os.path.exists(path) and os.access(path, os.X_OK):
return path

Keybase proof

I hereby claim:

  • I am brendandburns on github.
  • I am brendandburns (https://keybase.io/brendandburns) on keybase.
  • I have a public key whose fingerprint is D033 328E 0BA4 1E0C C7EA A581 F986 47CC 6648 1A0A

To claim this, I am signing this object: