Bill Nolf <bn58...@gmail.com> writes: > python version 2.6.6 > > I'm trying to tar/gzip a directory, the directory is defined as an variable > > I want to tar and gzip the directory archive in the example below: > > import tarfile > dirarchive = /a/b/c/archive
This code will not run. I can guess what you might mean, but the larger problem is: You are obviously running different code from what you present here to us. Can you instead make a complete, simple example that *you* have run, and you know the result? That way, we will all be looking at the same code and the same behaviour. -- \ “Try to learn something about everything and everything about | `\ something.” —Thomas Henry Huxley | _o__) | Ben Finney _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor