Tag

Copy

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Apr 27, 2025 · Fundamentals

Using Python’s shutil Module for File and Directory Operations

This article introduces Python’s shutil module and demonstrates how to copy, move, rename, archive, and delete files and directories with concise code examples while highlighting important safety considerations.

CopyPythonarchive
0 likes · 3 min read
Using Python’s shutil Module for File and Directory Operations
Test Development Learning Exchange
Test Development Learning Exchange
Aug 25, 2024 · Fundamentals

Using Python's shutil Module for File and Directory Operations

This article introduces Python's built‑in shutil module, explains its key functions for copying, moving, deleting, archiving, and retrieving file information, and provides comprehensive code examples demonstrating how to prepare test files and perform common file‑system tasks such as copying files, moving directories, and creating archives.

CopyMovearchive
0 likes · 7 min read
Using Python's shutil Module for File and Directory Operations
php中文网 Courses
php中文网 Courses
Oct 19, 2023 · Backend Development

PHP copy() Function: Syntax, Parameters, Return Value, Example, and Usage Tips

This article explains PHP's copy() function, detailing its syntax, parameters, return values, example usage, and important precautions for safely copying files on the server, including handling of existing destination files, limitations with directories, and cross‑filesystem considerations.

CopyPHPfilesystem
0 likes · 3 min read
PHP copy() Function: Syntax, Parameters, Return Value, Example, and Usage Tips
Cognitive Technology Team
Cognitive Technology Team
Aug 6, 2023 · Fundamentals

Common Pitfalls When Using Go Slices and How to Avoid Them

This article explains three typical pitfalls of Go slices—ignoring the slice returned by append, unintentionally sharing the underlying array which can cause memory leaks, and the value‑copy behavior of for‑range loops—while also showing how to inspect slice internals using unsafe pointers.

CopyMemory LeakSlices
0 likes · 5 min read
Common Pitfalls When Using Go Slices and How to Avoid Them
TAL Education Technology
TAL Education Technology
May 25, 2023 · Frontend Development

Implementing One‑Click Copy in JavaScript: Clipboard API and Fallback Methods

This article explains how to implement a one‑click copy feature in web pages using the modern Clipboard API for text and images, provides compatibility notes, and offers fallback code with document.execCommand('copy') for older browsers and WebViews.

Clipboard APICompatibilityCopy
0 likes · 11 min read
Implementing One‑Click Copy in JavaScript: Clipboard API and Fallback Methods
Python Programming Learning Circle
Python Programming Learning Circle
May 4, 2022 · Fundamentals

Common Python Interview Questions and Answers

This article provides concise explanations of ten fundamental Python topics, covering differences between lists and tuples, arrays and lists, append versus extend, equality operators, shallow and deep copying, loop control statements, variable scopes, range versus xrange, decorators, and the concepts of iterators and generators.

CopyGeneratorIterator
0 likes · 7 min read
Common Python Interview Questions and Answers
Sohu Tech Products
Sohu Tech Products
Jan 26, 2022 · Mobile Development

Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C

This article documents a runtime crash triggered by mutating an NSMutableSet while enumerating it, explains how the Objective‑C copy attribute works, demonstrates shallow and deep copy behavior for strings and collections, and provides low‑level source analysis of the copy implementation in the Apple runtime.

CopyDeepCopyMutableSet
0 likes · 14 min read
Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C
Python Programming Learning Circle
Python Programming Learning Circle
Jul 10, 2021 · Fundamentals

Understanding Shallow and Deep Copy in Python

This article explains Python's shallow and deep copy mechanisms, demonstrates their differences with code examples, visual diagrams, and discusses when to use each approach, highlighting performance and memory considerations in software development.

Copydeep copyfundamentals
0 likes · 5 min read
Understanding Shallow and Deep Copy in Python
Selected Java Interview Questions
Selected Java Interview Questions
Jul 23, 2020 · Fundamentals

Understanding Reference, Shallow, and Deep Copy in Java

This article explains Java reference copying, object cloning, and the differences between shallow and deep copy, providing code examples and output analysis to illustrate how each method affects object identity and shared references.

CloningCopyJava
0 likes · 8 min read
Understanding Reference, Shallow, and Deep Copy in Java
Python Programming Learning Circle
Python Programming Learning Circle
May 8, 2020 · Fundamentals

Understanding List Passing and Modification in Python Functions

This article demonstrates how Python functions can receive list arguments, modify them permanently, and how to pass a copy to prevent changes, illustrating the effects with clear code examples and output results.

CopyPythonTutorial
0 likes · 4 min read
Understanding List Passing and Modification in Python Functions
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 6, 2019 · Fundamentals

Understanding Go Slice Internals: Structure, Initialization, Append, Slicing, Copy, and Parameter Passing

This article explains the internal representation of Go slices, how they are created and initialized, the mechanics of append and capacity growth, slicing behavior, deep‑copy using the copy function, and whether slices are passed by value or reference, all illustrated with source code and assembly excerpts.

CopyGoappend
0 likes · 24 min read
Understanding Go Slice Internals: Structure, Initialization, Append, Slicing, Copy, and Parameter Passing
Python Programming Learning Circle
Python Programming Learning Circle
Sep 12, 2019 · Fundamentals

8 Must‑Know Python Features Every Job Seeker Should Master

This article compiles eight representative Python language‑feature questions—covering iterators, generators, decorators, monkey‑patching, identity vs equality, shallow/deep copying, mutability, introspection, and naming conventions—to help candidates ace technical interviews and deepen their core Python knowledge.

CopyInterviewIterators
0 likes · 10 min read
8 Must‑Know Python Features Every Job Seeker Should Master
NetEase Game Operations Platform
NetEase Game Operations Platform
Apr 20, 2019 · Databases

Understanding MySQL DDL Algorithms and How to Minimize Their Impact

This article explains the three MySQL DDL algorithms (COPY, INPLACE, INSTANT), compares third‑party tools like pt‑online‑schema‑change and gh‑ost, and provides practical guidance on selecting algorithms, using ALGORITHM clauses, monitoring progress, and handling performance, space, replication lag, and metadata lock issues.

CopyDDLINPLACE
0 likes · 13 min read
Understanding MySQL DDL Algorithms and How to Minimize Their Impact
Qunar Tech Salon
Qunar Tech Salon
Aug 10, 2017 · Fundamentals

Understanding Deep and Shallow Copy in Objective‑C Collections and Memory Management

This article explains the concepts of shallow and deep copying in Objective‑C, detailing how pointers, memory regions, and collection types behave under copy and mutableCopy, introducing three copy levels (CL1‑CL3), and highlighting common pitfalls and best practices for safe memory management.

CopyMemory ManagementMutableCopy
0 likes · 7 min read
Understanding Deep and Shallow Copy in Objective‑C Collections and Memory Management