It seems that ZipFile().write() can only write files,how can empty directories be put into it?

Discussion in 'Python' started by could ildg, Jul 1, 2005.

  1. could ildg

    could ildg Guest

    I want to "create" a empty folder in a zipfile,
    Can ZipFile do it?
    If not, any other approachs?
     
    could ildg, Jul 1, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Wondratschek

    Python zipfile: Zip empty directories.

    Mark Wondratschek, Aug 29, 2003, in forum: Python
    Replies:
    2
    Views:
    627
    Mark Wondratschek
    Sep 1, 2003
  2. T. Kaufmann
    Replies:
    2
    Views:
    379
    Peter Otten
    Sep 4, 2003
  3. Fuzzyman

    Empty directories with zipfile

    Fuzzyman, Jun 9, 2004, in forum: Python
    Replies:
    4
    Views:
    1,663
    Fuzzyman
    Jun 11, 2004
  4. Jeff Epler
    Replies:
    0
    Views:
    399
    Jeff Epler
    Jul 1, 2005
  5. could ildg
    Replies:
    0
    Views:
    507
    could ildg
    Jul 2, 2005
Loading...

Share This Page