On 8/23/2011 12:31 PM James Reynolds said...
I'm trying the 7-zip solution, but I can't get past this
error: WindowsError: [Error 2] The system cannot find the file specified
The line it fails at is here: z = subprocess.call(['7z', 'a', '1234',
'-y', name + '.zip'] + self.file_locs)
(from now)
oddly enough, when I open up a python shell, i can run the above just
fine and it creates a .zip file.
But when I run it from eclipse, the exact thing, I get the error.
I'd try providing the full path to 7z -- maybe that's why it probably
can't find the file specified.
Emile
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor