Read txt file, add to iptables not working on new host

Chris Angelico rosuav at gmail.com
Fri May 24 12:56:47 EDT 2013


On Sat, May 25, 2013 at 2:32 AM, JackM <notreal at earthlink.net> wrote:
> So Chris, does this version look better? Changed to inFile to with.
>

Heh, I didn't know you knew about with :) Since you know how to use
it, you probably also know why it's useful. Anyway, the main thing is
to see the exact command that's being executed, which you then should
be able to try at a shell prompt.

ChrisA



More information about the Python-list mailing list