Skip to content

Instantly share code, notes, and snippets.

@artemrizhov
Created August 4, 2015 11:32
Show Gist options
  • Save artemrizhov/0c2438f853e00189624d to your computer and use it in GitHub Desktop.
Save artemrizhov/0c2438f853e00189624d to your computer and use it in GitHub Desktop.
#!/usr/bin/python
# Use Python formatting in Linux shell
import sys
print sys.argv[1].format(*sys.argv[2:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment