> import os > password="secretstuff" > infile="test.idea" > outfile="test.zip" > os.system("idea -dk %(password) %(infile) %(outfile)") Found out that I just had to move a few things around. :-) os.system("idea -dk %s %s %s" % (password, infile, outfile)) Thanks for the help! Patrick Mullins pmullins at gatecom.com