All syntax guides
Short, practical guides on programming syntax, language fundamentals, and the tools developers reach for every day.
3,965 guides across 14 topics
Topics
Popular guides
Most readLatest guides
Page 44 of 397Python RapidFuzz Fuzzy String Matching
python rapidfuzz fuzzy string matching: Learn how to use RapidFuzz for fast fuzzy string matching in Python, including ratio functions, tokenization, and process extra...
Python timedelta vs relativedelta: When to Use Each
python timedelta vs relativedelta: Compare Python's timedelta and dateutil's relativedelta for date arithmetic: understand calendar-aware differences, month-end behavi...
Python dateutil: Timezone and rrule Recurrence
Understand how dateutil rrule uses timezone-aware datetimes, handles DST transitions, and avoids naive and aware datetime mistakes.
Python Dateutil Relativedelta Date Arithmetic
Use Python's dateutil relativedelta for calendar-aware date arithmetic: adding months, handling month-end clamping, computing calendar differences, and combining it with timedelta.
Python dateutil: Parsing Dates and Datetimes from Strings
Learn how to use dateutil.parser.parse to turn flexible date and datetime strings into Python datetime objects. Covers timezone handling, ambiguity flags, fuzzy parsing, and when to use strptime.
Python Arrow vs Pendulum: Choosing a Datetime Library
Compare Arrow and Pendulum for Python datetime handling: API differences, timezone support, performance, and when to choose each.
Python Arrow Humanize and Shift
Learn how to use Arrow's humanize and shift methods to format relative time and perform calendar-aware date adjustments in Python, with practical examples and edge cases.
Python Arrow: Datetime Parsing, Formatting, and Timezone
Learn how to parse, format, and convert timezones with Python Arrow. Includes code examples, timezone edge cases, and dependency considerations.
Python Pendulum vs Datetime: Which Should You Use?
Compare Python's Pendulum library with the standard datetime module for timezone handling, parsing, formatting, arithmetic, and migration considerations.
Python Pendulum Date Arithmetic and Duration
Learn how to add and subtract time, calculate differences, and handle timezone-aware arithmetic with Pendulum's DateTime, Duration, and Period objects.