Skip to content

Instantly share code, notes, and snippets.

@gonzafirewall
Created January 29, 2015 02:52
Show Gist options
  • Save gonzafirewall/e4b96dfef708c80293db to your computer and use it in GitHub Desktop.
Save gonzafirewall/e4b96dfef708c80293db to your computer and use it in GitHub Desktop.
import sys
if len(sys.argv) > 1 and sys.argv[1] :
fname = sys.argv[1]
else:
fname = "req.txt"
f = open(fname, 'r+')
cmd = 'pex '
for r in f.readlines():
cmd += '-r %s ' % r.strip()
print cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment