On Feb 6, 2:47 pm, "MRAB" <[EMAIL PROTECTED]> wrote:
> On Feb 6, 1:48 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 4, 12:42 pm, "Jandre" <[EMAIL PROTECTED]> wrote:
>
> > > On Feb 1, 9:39 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
>
> > > > Jandre wrote:
> > > > > Hi
>
> > > >
On Feb 6, 1:48 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Feb 4, 12:42 pm, "Jandre" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 1, 9:39 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
>
> > > Jandre wrote:
> > > > Hi
>
> > > > I am a python novice and I am trying to write a python script (m
On Feb 4, 12:42 pm, "Jandre" <[EMAIL PROTECTED]> wrote:
> On Feb 1, 9:39 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
>
>
>
> > Jandre wrote:
> > > Hi
>
> > > I am a python novice and I am trying to write a python script (most of
> > > the code is borrowed) to Zip a directory containing some other
>
Hi Jandre,
Your code is treating the directory as a file and trying to open it and read
its bytes to zip them. You'll need to differentiate between files and
directories.
You'll need to check out the Zip module to see how it expects files that
should be nested within folders. I believe you'll ne
On Feb 1, 9:39 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
> Jandre wrote:
> > Hi
>
> > I am a python novice and I am trying to write a python script (most of
> > the code is borrowed) to Zip a directory containing some other
> > directories and files. The script zips all the files fine but when it
Jandre wrote:
> Hi
>
> I am a python novice and I am trying to write a python script (most of
> the code is borrowed) to Zip a directory containing some other
> directories and files. The script zips all the files fine but when it
> tries to zip one of the directories it fails with the following
>
Hi
I am a python novice and I am trying to write a python script (most of
the code is borrowed) to Zip a directory containing some other
directories and files. The script zips all the files fine but when it
tries to zip one of the directories it fails with the following
error:
"IOError: [Errno 13]