These are really not web2py related python questions, but here you
go :)

1) See http://docs.python.org/library/zipfile.html

2) AFAIK not without extracting and compressing again.

On Feb 6, 7:41 am, INeedHelp <zhang.kil...@gmail.com> wrote:
> 1st
> I know how to zip a file but is there a way to zip a folder (with
> files contain inside).???
>
> 2nd
> Is there a way to move a file and folder after zip that folder and
> file?
>
> thanks in advance
>
> cheers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to