/* Link from: http://www.ibm.com/developerworks/cn/opensource/os-php-v524/
* Author profile: Tracy Peterson (tracy@tracypeterson.com), freelance writer, Consultant. From
* Since 1997, Tracy Peterson has been an IT project manager and Web developer.
*
Copy CodeThe code is as follows:
Class zip
{
var $datasec, $ctrl _dir = Array ();
var $eof _ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
var $old _offset = 0; var $dirs = Array (".");
function get_list ($zip _name)
{
$zip = @fopen ($zip _name, '
Brief Introduction to the zip () and * zip () functions in Python and the python Functions
Preface
1. experiment environment: Python 3.6;
2. Sample Code address: Download example;
3. The element in this article refers to the next-level project
Compression (zip), compression zip
By default, these compression tools will delete the source files (except zip files) after compression. By default, only files are compressed, but directories are not compressed (LinkPackage).
Released on: 12/13/2004 | updated on: 12/13/2004
Ianier Munoz
This document assumes that you are familiar with C # And Windows Forms.
Download the code in this article:Zipcompression.exe(150kb)
Summary
When you store files or send files over the
Prepared by: xbeta version: 070706/070317 by: making good use of soft http://xbeta.info
7-Zip is a great compression software: Open Source, free, multi-language, extremely small, stable and powerful, and high compression ratio. It is my preferred
// The following is the class and function definition classZip // ZIP compression class {var $ datasec, $ ctrl_dir = array (); var $ eof_ctrl_dir = & quot; \ x50 \ x4b \ x05 \ x06 \ x00 \ x00 \ x00 \ x00 & quot; var $ old_offset = 0
// The
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.