Tag

Python Programming

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Jul 16, 2024 · Fundamentals

Parsing XML Data with Python's xml.etree.ElementTree

This article provides a comprehensive guide on using Python's xml.etree.ElementTree library to parse XML data, covering installation, parsing methods, data extraction, and handling nested structures with practical code examples.

Data ProcessingPython ProgrammingXML Parsing
0 likes · 4 min read
Parsing XML Data with Python's xml.etree.ElementTree
Baidu Geek Talk
Baidu Geek Talk
May 19, 2022 · Fundamentals

Singleton Design Pattern: Implementation and Practical Applications

The Singleton design pattern guarantees a single, globally accessible instance, reducing memory overhead and global variables, with eager (init) and lazy (sync.Once) thread‑safe implementations in Go, and practical uses such as configuration management in Python, shared DB connections in PHP, and UI components like toasts in JavaScript.

JavaScript ProgrammingPHP ProgrammingPython Programming
0 likes · 16 min read
Singleton Design Pattern: Implementation and Practical Applications
Byte Quality Assurance Team
Byte Quality Assurance Team
Oct 13, 2021 · Fundamentals

Understanding Python Object Assignment, Mutable vs. Immutable Types, and Shallow vs. Deep Copying

This article provides a comprehensive guide to Python's memory management and object assignment mechanisms, clearly explaining the differences between mutable and immutable objects, direct assignment, shallow copying, and deep copying through practical code examples and visual diagrams.

Data StructuresImmutable ObjectsMemory Management
0 likes · 7 min read
Understanding Python Object Assignment, Mutable vs. Immutable Types, and Shallow vs. Deep Copying