Skip to content

Instantly share code, notes, and snippets.

@nonZero
Created February 12, 2020 09:04
Show Gist options
  • Save nonZero/2143250c82ec785c745de92bd38c8c04 to your computer and use it in GitHub Desktop.
Save nonZero/2143250c82ec785c745de92bd38c8c04 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
import os
import subprocess
import sys
if "--hebrew" in sys.argv:
print("איזה קומבינה!!!")
elif "--audio" in sys.argv:
subprocess.check_output(['play', '-q', os.path.join(os.path.dirname(__file__), 'netanel.opus')])
else:
print("Eize Combina!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment