<br><br><div class="gmail_quote">On Tue, Oct 13, 2009 at 5:17 PM, Kent Johnson <span dir="ltr">&lt;<a href="mailto:kent37@tds.net">kent37@tds.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Oct 13, 2009 at 4:38 PM, David Eric &lt;<a href="mailto:ciik13@gmail.com">ciik13@gmail.com</a>&gt; wrote:<br>
<br>
&gt; as far as print zip_command, i would add that to the program however, doesnt<br>
&gt; just declaring it actually trigger it..thus it would executed and the<br>
&gt; command line would get printed as well?<br>
<br>
</div>I&#39;m not sure what you mean by &quot;declaring&quot;, but assigning a value to<br>
zip_command, as you do, and printing it, as I suggest, do just that -<br>
assign and print. It is the call to os.system() that executes the<br>
command.<br></blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; color: rgb(51, 102, 255);">
<div>oh i see the if os.sytem() command in the program is what ran the zip_command</div></blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">
&gt; the actual program i was looking to write would take:<br>
&gt;  file1,file2,and file3, in /Users/davidteboul/bin/python<br>
&gt; and condense them into individual files; file1.gz, file2.gz and file3.gz and<br>
&gt; save them in a directory already made - (/Users/davidteboul/backups)<br>
<br>
</div>I think that doing this with gzip, you have to first copy the files to<br>
the backup directory, then run gzip on the backup.<br>
<div class="im"><br></div></blockquote><div> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
&gt; ps..did i post and reply all corretly?<br>
<br>
</div>You can intersperse your comments with the original email, as I have<br>
done above, rather than putting your entire reply at the end. The<br>
reply all is fine.<br>
<font color="#888888"><br>
Kent<br></font></blockquote><div><br><font color="#3366ff">thanks for the help, ill try some stuff and see if i can get it to work<br></font> <br></div></div><br>