Skip to content
Python Pool
  • Blog
  • About Python Pool
  • Contact Us
  • Online Python Compiler
Python Pool
  • Blog
  • About Python Pool
  • Contact Us
  • Online Python Compiler

Tutorials

Browse Python tutorials for beginners and working developers, including syntax, libraries, examples, projects, and real problem-solving guides.

Sort a Dictionary by Key in Python with sorted()

July 11, 2026April 5, 2022
Sort dictionary by key in Python using sorted items and dict

Sort a Python dictionary by key with sorted() and dict(), while making reverse order, case normalization, dates, and nested keys explicit.

Python %d Formatting: Integer Placeholders and Modern Alternatives

July 11, 2026April 4, 2022
Python percent d integer string formatting and f-string alternatives

Use Python %d formatting for integers, width, zero padding, multiple values, and percent signs, then compare it with f-strings.

Python Ternary Operator: Conditional Expressions Clearly

July 11, 2026April 4, 2022
python ternary

Use Python ternary expressions for compact conditional values, avoid nested unreadable logic, and choose a normal if statement when the branches do more than return a value.

Python Serial Read with pySerial: Bytes, Lines, and Timeouts

July 11, 2026April 4, 2022
Python serial read with PySerial guide

Read reliable serial messages with pySerial by defining framing, timeout, buffering, byte decoding, disconnect, and cleanup behavior.

Python HTTP Server: http.server, Ports, Directories, and Safety

July 12, 2026March 30, 2022
Python HTTP Server

Start Python’s local http.server, choose a port and directory, bind safely, write a small handler, and understand why it is not a production web server.

Copy a List in Python: Slicing, copy(), and deepcopy()

July 12, 2026March 30, 2022
Python copy list with list copy slicing and deepcopy for nested lists

Copy Python lists safely with slicing, list(), copy(), and deepcopy(), and understand shallow copies, nested mutability, aliases, and performance.

Append Strings in Python: +, join(), f-Strings, and More

July 12, 2026March 30, 2022
Python Append String

Combine Python strings with +, +=, join(), f-strings, StringIO, and templates while keeping types, separators, and encoding explicit.

Python XOR Operator (^): Booleans, Bits, and Examples

July 11, 2026March 27, 2022
Python XOR operator and bitwise logic guide

Use Python’s ^ operator deliberately: bitwise XOR compares integer bits, while explicit boolean logic can make truth-value intent clearer.

Black Formatter with Git: Hooks, CI, and Configuration

July 12, 2026March 25, 2022
Black Git

Use Black with Git, pre-commit, pyproject.toml, GitHub Actions, VS Code, and Jupyter while keeping formatting reproducible.

Python Timezone: zoneinfo, UTC, Conversion, and DST

July 12, 2026March 22, 2022
Python timezone handling with zoneinfo guide

Handle Python timezones with zoneinfo, aware datetimes, UTC storage, astimezone(), DST transitions, and safe formatting.

Older posts
Newer posts
← Previous Page1 … Page6 Page7 Page8 … Page35 Next →

About us

Python Pool is a platform where you can learn and become an expert in every aspect of Python programming language as well as in AI, ML, and Data Science.

Quick Links

  • AI
  • Algorithm
  • Career
  • Comparison
  • Data Science
  • Error
  • How to
  • Learning
  • Machine Learning
  • Matplotlib
  • Module
  • News
  • Numpy
  • OpenCV
  • Pandas
  • Programs
  • Project
  • Questions
  • Review
  • Software
  • Tensorflow
  • Tutorials

Pages

  • About Python Pool
  • Contact Us
  • Cookies Policy
  • DMCA
  • Privacy Policy
© 2026 Python Pool
Next Page »