doing a python tutorial and one of the assignments says to develop a program
that backsup files to zip files into a backup directory
im using Darwin 10.0.0 unix version:
this is what i came up with thus far, i did copy the sample program given
but made changes for my unix OS:
#!/usr/bin/env
)
David Eric wrote:
wow thank you
yes...youre right i did want to pass a list of strings
im copying the sample program and adding my own directories, i missed what
the example was trying to show in that instance.
as far as the recursive option, you mean the -r would process all
subdirectories under
On Tue, Oct 13, 2009 at 4:02 PM, Kent Johnson ken...@tds.net wrote:
On Tue, Oct 13, 2009 at 2:58 PM, David Eric cii...@gmail.com wrote:
printing the command line,
would it be
print('gzip {0} {1}'.format(target, ' '.join(source))?
Yes, or just
print zip_command
and as far as using
On Tue, Oct 13, 2009 at 5:17 PM, Kent Johnson ken...@tds.net wrote:
On Tue, Oct 13, 2009 at 4:38 PM, David Eric cii...@gmail.com wrote:
as far as print zip_command, i would add that to the program however,
doesnt
just declaring it actually trigger it..thus it would executed
Very new to python..getting accustomed to files, directories etc
I installed a few versions of python and ended up with a very long PATH
variable, do i need this or can i change it to something shorter?
Doing an online tutorial one exercise was to move a simple program,
helloworld into the PATH so