Skip to content

Instantly share code, notes, and snippets.

@semihozkoroglu
Created March 4, 2014 12:28
Show Gist options
  • Save semihozkoroglu/9345629 to your computer and use it in GitHub Desktop.
Save semihozkoroglu/9345629 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
import os
import fileinput
content = []
for line in fileinput.input():
os.system(line.strip())
fileinput.close()
### Kullanımı
python executer.py command.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment