Created
January 29, 2015 02:52
-
-
Save gonzafirewall/e4b96dfef708c80293db to your computer and use it in GitHub Desktop.
This file contains 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
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