Tagged articles
5 articles
Page 1 of 1
Test Development Learning Exchange
Test Development Learning Exchange
Jun 26, 2024 · Fundamentals

Overview of Common Python Standard Library Modules

This article provides practical code examples for using key Python standard library modules—including os, sys, json, datetime, re, math, collections, urllib, random, and logging—to perform common tasks such as file operations, system info, data parsing, date handling, pattern matching, calculations, data structures, web requests, random generation, and logging.

JSONPythonStandard Library
0 likes · 4 min read
Overview of Common Python Standard Library Modules
MaGe Linux Operations
MaGe Linux Operations
Oct 18, 2018 · Fundamentals

Master Python File I/O and System Scripting with 10 Practical Exercises

This guide walks you through Python's built‑in open() function, file modes, reading and writing techniques, directory traversal with os.walk, and a series of practical scripts including a triangle printer, number‑guessing game, log analysis, IP counting, prime number generator, command‑line argument handling, web page fetching, process memory aggregation, port monitoring, and SNMP‑based CPU and network traffic monitoring.

NetworkingPythonfile-io
0 likes · 17 min read
Master Python File I/O and System Scripting with 10 Practical Exercises
MaGe Linux Operations
MaGe Linux Operations
Mar 15, 2017 · Fundamentals

Master Python Exception Handling: From Basics to Advanced Techniques

This comprehensive guide walks you through Python's exception classes, various try‑except‑else‑finally patterns, handy shortcuts like assert and with, how to raise custom exceptions, and retrieving exception details via the sys module, all illustrated with clear examples and diagrams.

AssertException HandlingPython
0 likes · 9 min read
Master Python Exception Handling: From Basics to Advanced Techniques