Created
September 21, 2014 08:22
-
-
Save Michcioperz/07f5220e7fcd2d4c22d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import subprocess, shlex | |
| try: | |
| while True: | |
| subprocess.call(shlex.split('mpc %s'%input('$ '))) | |
| except EOFError: | |
| pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment