Tag

zip

1 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Jun 11, 2025 · Fundamentals

Six Powerful Ways to Merge Two Python Lists Efficiently

This guide explores six practical Python techniques for merging two lists—including the + operator, extend(), zip(), unpacking, list comprehensions, and itertools.chain()—detailing code examples, performance considerations, and when to choose each method for efficient data handling.

extenditertoolslist comprehension
0 likes · 5 min read
Six Powerful Ways to Merge Two Python Lists Efficiently
Java Captain
Java Captain
May 23, 2025 · Backend Development

CompressUtil Java Utility for File Compression and Download

This article introduces a Java utility class named CompressUtil that provides methods for compressing files and directories into ZIP archives, handling duplicate filenames, creating new files safely, and offering HTTP endpoints for downloading the generated ZIP files in a single request.

BackendJavaServlet
0 likes · 10 min read
CompressUtil Java Utility for File Compression and Download
Test Development Learning Exchange
Test Development Learning Exchange
Mar 16, 2024 · Fundamentals

Python Built-in Functions and Utilities

This article introduces 10 essential Python built-in functions and utilities including enumerate(), zip(), filter(), map(), sorted(), functools.partial(), itertools.combinations(), lambda, getattr()/setattr(), and reversed(), with practical code examples for each.

Filterbuilt-in-functionsenumerate
0 likes · 3 min read
Python Built-in Functions and Utilities
php中文网 Courses
php中文网 Courses
Dec 23, 2023 · Backend Development

How to Use PHP zip_read() to Read ZIP File Entries

The article explains PHP's zip_read() function, its syntax, how to open a ZIP file, iterate through entries, retrieve entry names and sizes, and notes its limitations, providing a complete code example for reading ZIP file entries.

Backendfile handlingzip
0 likes · 3 min read
How to Use PHP zip_read() to Read ZIP File Entries
php中文网 Courses
php中文网 Courses
Dec 23, 2023 · Backend Development

How to Package and Deploy PHP Applications Using Composer

This guide explains the step-by-step process of preparing, managing dependencies with Composer, creating directory structures, and using PHP code to package a project into a zip archive for deployment, including installation commands and deployment tips for web servers.

BackendComposerDeployment
0 likes · 5 min read
How to Package and Deploy PHP Applications Using Composer
Python Programming Learning Circle
Python Programming Learning Circle
Nov 28, 2023 · Fundamentals

15 Concise Python Tips for More Efficient Coding

This article presents fifteen practical Python techniques—including multi‑key sorting, data classes, list comprehensions, memory inspection, frequency analysis, dictionary merging, multiple return values, filter/map/zip usage, list reversal, element existence checks, flattening nested lists, and uniqueness verification—to help developers write cleaner, faster, and more readable code.

Data ClassesFilterMemory usage
0 likes · 9 min read
15 Concise Python Tips for More Efficient Coding
Python Programming Learning Circle
Python Programming Learning Circle
Nov 27, 2023 · Fundamentals

Six Practical Python Tricks: String Operations, List Comprehensions, Lambdas, Map, Conditional Expressions, and Zip

This article introduces six useful Python techniques—including string manipulation, list comprehensions, lambda functions, the map and zip utilities, and one‑line conditional expressions—showing concise code examples and explaining how each feature can simplify everyday programming tasks.

lambdalist comprehensionmap
0 likes · 8 min read
Six Practical Python Tricks: String Operations, List Comprehensions, Lambdas, Map, Conditional Expressions, and Zip
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 22, 2023 · Information Security

Understanding Compression Bombs and How to Prevent Them in Java

This article explains what a compression bomb is, outlines its potential harms such as resource exhaustion and system crashes, describes detection methods, and provides detailed Java code examples for preventing compression bomb attacks by limiting unzip size, using safe libraries, and applying security policies.

JavaSecuritycompression bomb
0 likes · 16 min read
Understanding Compression Bombs and How to Prevent Them in Java
php中文网 Courses
php中文网 Courses
Jul 27, 2023 · Backend Development

Extracting and Creating RAR and ZIP Archives with PHP

This article explains how to use PHP's RarArchive and ZipArchive classes to extract RAR and ZIP files, create ZIP archives, and compress folders into RAR archives, providing step‑by‑step code examples and detailed explanations for each operation.

Backend DevelopmentPHPfile compression
0 likes · 7 min read
Extracting and Creating RAR and ZIP Archives with PHP
Python Programming Learning Circle
Python Programming Learning Circle
Jun 20, 2022 · Fundamentals

Five Essential Python Tricks for Efficient Coding

This article introduces five practical Python tricks—including string manipulation, list comprehensions, lambda and map functions, single-line conditional expressions, and the zip function—providing concise examples and code snippets to help developers write cleaner, more efficient code.

code-tipsif-elselambda
0 likes · 8 min read
Five Essential Python Tricks for Efficient Coding
Laravel Tech Community
Laravel Tech Community
May 8, 2022 · Backend Development

Implementing ZIP Packaging and Large File Download in PHP

This article demonstrates how to use PHP's ZipArchive class to create ZIP packages, stream large files for download, and encapsulate these operations within a reusable class, providing complete code examples and detailed explanations for backend developers.

BackendPHPZipArchive
0 likes · 7 min read
Implementing ZIP Packaging and Large File Download in PHP
Python Programming Learning Circle
Python Programming Learning Circle
Mar 24, 2022 · Fundamentals

Python Tricks 101: Five Must‑Know Techniques for New Programmers

This article introduces five practical Python tricks—including string operations, list comprehensions, lambda with map, single‑line conditional expressions, and the zip function—providing clear explanations and code examples that help beginners write more concise and readable code.

fundamentalslambdalist comprehension
0 likes · 7 min read
Python Tricks 101: Five Must‑Know Techniques for New Programmers
Python Programming Learning Circle
Python Programming Learning Circle
Feb 17, 2022 · Fundamentals

Handling Various Compressed File Formats in Python (zip, tar.gz, rar, 7z)

This article explains how to work with common compressed file formats such as zip, tar.gz, rar, and 7z in Python, detailing the relevant modules, usage patterns, and providing complete code examples for creating and extracting archives on both Windows and Linux.

7zfile compressionrar
0 likes · 10 min read
Handling Various Compressed File Formats in Python (zip, tar.gz, rar, 7z)
Python Programming Learning Circle
Python Programming Learning Circle
Oct 13, 2021 · Fundamentals

New Features in Python 3.10: Union Types, zip strict mode, parenthesized context managers, explicit type aliases, match‑case, improved error messages and other updates

Python 3.10, released on October 4 2021, introduces concise Union type syntax, a strict mode for zip, parenthesized with‑statements, explicit TypeAlias declarations, structural pattern matching via match‑case, clearer syntax error messages, and several deprecations such as distutils, all illustrated with code examples.

3.10Context ManagerPattern Matching
0 likes · 8 min read
New Features in Python 3.10: Union Types, zip strict mode, parenthesized context managers, explicit type aliases, match‑case, improved error messages and other updates
Laravel Tech Community
Laravel Tech Community
May 5, 2021 · Backend Development

zip_entry_filesize(): Retrieve the Actual Size of a Zip Entry

zip_entry_filesize() is a PHP function that returns the actual size of a specified zip entry, taking a zip entry resource obtained via zip_read() as its argument and providing the entry’s size in bytes.

BackendPHPfile size
0 likes · 1 min read
zip_entry_filesize(): Retrieve the Actual Size of a Zip Entry
Laravel Tech Community
Laravel Tech Community
Apr 29, 2021 · Backend Development

zip_entry_compressionmethod() – Retrieve the Compression Method of a Zip Entry

The PHP function zip_entry_compressionmethod() returns the compression method (such as STORE or DEFLATE) used for a specific zip entry resource obtained via zip_read(), with a clear description of its parameter and return value.

BackendPHPcompression
0 likes · 1 min read
zip_entry_compressionmethod() – Retrieve the Compression Method of a Zip Entry
Laravel Tech Community
Laravel Tech Community
Apr 28, 2021 · Backend Development

zip_entry_compressedsize() – Retrieve the Compressed Size of a ZIP Entry

The zip_entry_compressedsize() function in PHP returns the compressed size of a specific ZIP archive entry, taking a zip_entry resource obtained from zip_read() as its parameter and providing the size as an integer value.

BackendPHPdocumentation
0 likes · 1 min read
zip_entry_compressedsize() – Retrieve the Compressed Size of a ZIP Entry
Laravel Tech Community
Laravel Tech Community
Apr 27, 2021 · Backend Development

zip_entry_close – Close a ZIP Directory Entry (PHP)

The PHP function zip_entry_close closes a previously opened ZIP directory entry, takes a zip entry resource as its sole argument, and returns TRUE on success or FALSE on failure, providing a simple way to release resources when working with ZIP archives.

BackendPHPfile handling
0 likes · 1 min read
zip_entry_close – Close a ZIP Directory Entry (PHP)
Laravel Tech Community
Laravel Tech Community
Apr 26, 2021 · Backend Development

zip_entry_filesize() – Retrieve the Actual Size of a Zip Entry

The PHP function zip_entry_filesize() returns the actual byte size of a zip archive entry, taking a zip_entry resource obtained from zip_read() as its sole parameter and providing the entry's size as the return value.

Backendfilesystemfunction
0 likes · 1 min read
zip_entry_filesize() – Retrieve the Actual Size of a Zip Entry